]> git.stg.codes - stg.git/commitdiff
Move some includes.
authorMaksym Mamontov <madf@madf.info>
Mon, 24 Feb 2020 16:40:16 +0000 (18:40 +0200)
committerMaksym Mamontov <madf@madf.info>
Mon, 24 Feb 2020 16:40:16 +0000 (18:40 +0200)
stargazer/plugins/capture/ether_freebsd/ether_cap.cpp
stargazer/plugins/capture/ether_freebsd/ether_cap.h

index fcf262fa763e1ac16c0ce45e2a6959d4d35e3f2b..f063da9f2f4364f5ae77538bd73ee9cf730f2bea 100644 (file)
@@ -45,7 +45,6 @@ $Author: faust $
 #include <sys/socket.h>
 #include <sys/time.h>
 #include <sys/ioctl.h>
-#include <sys/poll.h>
 
 #include <net/bpf.h>
 #include <net/if.h>
index 96761d3a4099a7be4424b27f0926737d8711237b..07380bda4fe1cefbb6cfa922cdafda81f05d2025 100644 (file)
@@ -35,6 +35,7 @@
 #include <cstdint>
 
 #include <pthread.h>
+#include <sys/poll.h>
 
 #define BUFF_LEN (128)