]> git.ozlabs.org Git - ppp.git/blobdiff - configure.ac
Merge pull request #417 from enaess/fixes
[ppp.git] / configure.ac
index e1acf8064c7a52fef7fe59dfb5ad65fb6456bdb9..7ee06d3b513a9a1d539033b3bd6ed26a0633c5c1 100644 (file)
@@ -75,7 +75,8 @@ AM_COND_IF([LINUX], [
         linux/if_ether.h        \
         linux/if_packet.h       \
         netinet/if_ether.h      \
-        netpacket/packet.h])])
+        netpacket/packet.h])
+    AC_CHECK_TYPES([struct sockaddr_ll], [], [], [#include <linux/if_packet.h>])])
 
 AC_CHECK_SIZEOF(unsigned int)
 AC_CHECK_SIZEOF(unsigned long)