]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/sys-solaris.c
Use autoconf/automake to configure and make ppp
[ppp.git] / pppd / sys-solaris.c
index 58ad21afca7337050ab42b6eeb7c6e5c08fa792b..a0b1e3a11ebd13543f997f05a70ab9c71d37f17b 100644 (file)
  * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <limits.h>
 #include <stdio.h>
 #include <stddef.h>
 #include <sys/ethernet.h>
 #endif
 
+#ifdef PPP_FILTER
+#include <pcap.h>
+#endif
+
 #include "pppd.h"
 #include "fsm.h"
 #include "lcp.h"
@@ -1636,7 +1644,7 @@ get_ppp_stats(int u, struct pppd_stats *stats)
     return 1;
 }
 
-#if 0
+#ifdef PPP_FILTER
 /*
  * set_filters - transfer the pass and active filters to the kernel.
  */