dns plugin: Check for `net/ppp_defs.h' and include it before `net/if_ppp.h' if it...
[collectd.git] / src / utils_dns.c
index 0943727..5834fa1 100644 (file)
@@ -63,6 +63,9 @@
 #if HAVE_NETINET_IF_ETHER_H
 # include <netinet/if_ether.h>
 #endif
+#if HAVE_NET_PPP_DEFS_H
+# include <net/ppp_defs.h>
+#endif
 #if HAVE_NET_IF_PPP_H
 # include <net/if_ppp.h>
 #endif