[Dnsmasq-discuss] Fun with glibc headers

Simon Kelley simon at thekelleys.org.uk
Wed Feb 13 20:02:34 GMT 2008


Scratch previous message, patch should be

The fix I'll apply looks like:

--- dnsmasq.old     2008-02-01 21:42:35.000000000 +0000
+++ dnsmasq.h     2008-02-13 19:45:36.000000000 +0000
@@ -17,6 +17,10 @@
  #define COPYRIGHT "Copyright (C) 2000-2008 Simon Kelley"

  /* get these before config.h  for IPv6 stuff... */
+#ifdef __GLIBC__
+/* needed for in6_pktinfo on later glibc releases */
+#  define __USE_GNU
+#endif
  #include <sys/types.h>
  #include <netinet/in.h>

Cheers,

Simon.




More information about the Dnsmasq-discuss mailing list