From: Maksym Mamontov <madf@madf.info>
Date: Mon, 24 Feb 2020 16:40:16 +0000 (+0200)
Subject: Move some includes.
X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/8bfaedfaf22377ff1beadebff699613bf19a1ce2?hp=--cc

Move some includes.
---

8bfaedfaf22377ff1beadebff699613bf19a1ce2
diff --git a/stargazer/plugins/capture/ether_freebsd/ether_cap.cpp b/stargazer/plugins/capture/ether_freebsd/ether_cap.cpp
index fcf262fa..f063da9f 100644
--- a/stargazer/plugins/capture/ether_freebsd/ether_cap.cpp
+++ b/stargazer/plugins/capture/ether_freebsd/ether_cap.cpp
@@ -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>
diff --git a/stargazer/plugins/capture/ether_freebsd/ether_cap.h b/stargazer/plugins/capture/ether_freebsd/ether_cap.h
index 96761d3a..07380bda 100644
--- a/stargazer/plugins/capture/ether_freebsd/ether_cap.h
+++ b/stargazer/plugins/capture/ether_freebsd/ether_cap.h
@@ -35,6 +35,7 @@
 #include <cstdint>
 
 #include <pthread.h>
+#include <sys/poll.h>
 
 #define BUFF_LEN (128)