]> git.ozlabs.org Git - ppp.git/commitdiff
Merge pull request #417 from enaess/fixes
authorPaul Mackerras <paulus@ozlabs.org>
Mon, 1 May 2023 03:29:50 +0000 (13:29 +1000)
committerGitHub <noreply@github.com>
Mon, 1 May 2023 03:29:50 +0000 (13:29 +1000)
Fixes for #411 and #413

1  2 
configure.ac

diff --combined configure.ac
index e1acf8064c7a52fef7fe59dfb5ad65fb6456bdb9,38b24af92856812e041a233d92f4bee862e0693e..7ee06d3b513a9a1d539033b3bd6ed26a0633c5c1
@@@ -1,6 -1,6 +1,6 @@@
  AC_PREREQ([2.69])
  AC_INIT([ppp],
 -        [2.5.0],
 +        [2.5.1-dev],
          [https://github.com/ppp-project/ppp])
  
  m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
@@@ -75,7 -75,8 +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)