summaryrefslogtreecommitdiff
path: root/include/bsd/ip_icmp.h
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2011-05-28 10:39:54 +0200
committerGuillem Jover <guillem@hadrons.org>2011-05-29 02:41:15 +0200
commit0bf3d3913fe2adb5974add44f93a5de78bd06710 (patch)
tree9e5f6f08dd47a397a864e0cc56ab1a4d6a220629 /include/bsd/ip_icmp.h
parent913cdd91b1d696e02dff22273b7721d8dad4bf2a (diff)
downloadlibbsd-0bf3d3913fe2adb5974add44f93a5de78bd06710.tar.gz
Include the correct deprecated headeres when using the overlay
Diffstat (limited to 'include/bsd/ip_icmp.h')
-rw-r--r--include/bsd/ip_icmp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/bsd/ip_icmp.h b/include/bsd/ip_icmp.h
index 65f3ff7..0f34a5a 100644
--- a/include/bsd/ip_icmp.h
+++ b/include/bsd/ip_icmp.h
@@ -33,7 +33,11 @@
#warning "Deprecated header, use <bsd/netinet/ip_icmp.h> or libbsd-overlay.pc instead."
#endif
+#ifdef LIBBSD_OVERLAY
+#include <netinet/ip_icmp.h>
+#else
#include <bsd/netinet/ip_icmp.h>
+#endif
#endif