]> git.stg.codes - stg.git/commitdiff
Add proper header to use netinet/ip.h on *bsd systems
authorMaxim Mamontov <faust.madf@gmail.com>
Tue, 20 Sep 2011 12:13:23 +0000 (15:13 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Tue, 20 Sep 2011 12:13:23 +0000 (15:13 +0300)
projects/sgauthstress/proto.h

index 543ae9e71b114c8ecb064c077364160eae9243f2..746622b77b40a1c9794b430f6770513a2828731b 100644 (file)
@@ -1,6 +1,9 @@
 #ifndef __PROTO_H__
 #define __PROTO_H__
 
 #ifndef __PROTO_H__
 #define __PROTO_H__
 
+#ifndef LINUX
+#include <netinet/in_systm.h>
+#endif
 #include <netinet/ip.h>
 #include <pthread.h>
 #include <poll.h>
 #include <netinet/ip.h>
 #include <pthread.h>
 #include <poll.h>