]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/rp-pppoe/pppoe.h
plugins/rp-pppoe: Fix compile errors
[ppp.git] / pppd / plugins / rp-pppoe / pppoe.h
index 813dcf368cf3369ff48a94db10b5e5b028716175..20318cb44a76ded0b9b394c245624cae5d460e76 100644 (file)
 
 #include "config.h"
 
-#if defined(HAVE_NETPACKET_PACKET_H) || defined(HAVE_LINUX_IF_PACKET_H)
-#define _POSIX_SOURCE 1 /* For sigaction defines */
-#endif
-
 #include <stdio.h>             /* For FILE */
 #include <sys/types.h>         /* For pid_t */
 
+#include "pppd/pppd.h"         /* For error */
+
 /* How do we access raw Ethernet devices? */
 #undef USE_LINUX_PACKET
 #undef USE_BPF