I believe that even on current kernels it's enabled by default so it depends on whether your distro disables it via /etc/sysctl.conf (and thus /proc/sys/net/ipv4/icmp ...