git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9b9f5b6
)
Add proper header to use netinet/ip.h on *bsd systems
author
Maxim Mamontov
<faust.madf@gmail.com>
Tue, 20 Sep 2011 12:13:23 +0000
(15:13 +0300)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Tue, 20 Sep 2011 12:13:23 +0000
(15:13 +0300)
projects/sgauthstress/proto.h
patch
|
blob
|
history
diff --git
a/projects/sgauthstress/proto.h
b/projects/sgauthstress/proto.h
index 543ae9e71b114c8ecb064c077364160eae9243f2..746622b77b40a1c9794b430f6770513a2828731b 100644
(file)
--- a/
projects/sgauthstress/proto.h
+++ b/
projects/sgauthstress/proto.h
@@
-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>