]> git.stg.codes - stg.git/commitdiff
Fix divert_cap in FreeBSD.
authorMaksym Mamontov <madf@madf.info>
Fri, 19 Aug 2022 20:08:22 +0000 (23:08 +0300)
committerMaksym Mamontov <madf@madf.info>
Fri, 19 Aug 2022 20:08:22 +0000 (23:08 +0300)
include/stg/raw_ip_packet.h

index 3139cafe763c40cab8c6a951b46b0e1394b10c07..663ff1bc65b85a3d186af91b91b40968e1ddabea 100644 (file)
@@ -3,6 +3,7 @@
 #include <cstring>
 
 #if defined(FREE_BSD)
+#include <sys/types.h> // u_char, u_int32_t, etc.
 #include <netinet/in_systm.h> // n_long in netinet/ip.h
 #endif