diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-09-07 08:42:02 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-09-07 08:42:02 +0000 |
commit | e09ed18320b4d90f71c02a3ac2274b8fc6209796 (patch) | |
tree | e772d6baf3d48d81d76e1f1f6257eb304f9eefee /gtk/sctp_stat.h | |
parent | 870cb0e20aa39a9fea48636605ccaccc966bc616 (diff) |
using #ifdef HAVE_SYS_TYPES_H around some of the includes making problems, but still uncompilable on win32!!!
svn path=/trunk/; revision=11921
Diffstat (limited to 'gtk/sctp_stat.h')
-rw-r--r-- | gtk/sctp_stat.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gtk/sctp_stat.h b/gtk/sctp_stat.h index 6f9e99f4b7..699384df3c 100644 --- a/gtk/sctp_stat.h +++ b/gtk/sctp_stat.h @@ -22,10 +22,16 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <epan/dissectors/packet-sctp.h> -#include <sys/types.h> -#include <sys/socket.h> -#include <netinet/in.h> +#include <epan/dissectors/packet-sctp.h>
+#ifdef HAVE_SYS_TYPES_H +#include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_SOCKET_H +#include <sys/socket.h>
+#endif
+#ifndef WIN32 +#include <netinet/in.h>
+#endif #define SCTP_DATA_CHUNK_ID 0 #define SCTP_INIT_CHUNK_ID 1 |