aboutsummaryrefslogtreecommitdiffstats
path: root/proto.h
diff options
context:
space:
mode:
authorLaurent Deniel <laurent.deniel@free.fr>1999-09-12 14:34:36 +0000
committerLaurent Deniel <laurent.deniel@free.fr>1999-09-12 14:34:36 +0000
commit35d5e37a82ece5fe0bf4d47e0bb5dbcf8362961c (patch)
tree3ce23e7dd1758edb0af23b00dc86f9e4891fffc4 /proto.h
parenta8dc5a1a0cd5b769ba8b7faeb666a64b41bfb8d4 (diff)
downloadwireshark-35d5e37a82ece5fe0bf4d47e0bb5dbcf8362961c.tar.gz
wireshark-35d5e37a82ece5fe0bf4d47e0bb5dbcf8362961c.tar.bz2
wireshark-35d5e37a82ece5fe0bf4d47e0bb5dbcf8362961c.zip
Some old CPP or tools that take C code in input do
not like #preprocessor_macros that do not start at the first column. So write: #ifdef FOO # include <dummy1.h> # define DUMMY 1 #else # include <dummy2.h> # define DUMMY 2 #endif instead of #ifdef FOO #include <dummy1.h> #define DUMMY 1 #else #include <dummy2.h> #define DUMMY 2 #endif svn path=/trunk/; revision=668
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/proto.h b/proto.h
index 21ebc146b8..782828e169 100644
--- a/proto.h
+++ b/proto.h
@@ -1,7 +1,7 @@
/* proto.h
* Definitions for protocol display
*
- * $Id: proto.h,v 1.10 1999/09/12 06:11:38 guy Exp $
+ * $Id: proto.h,v 1.11 1999/09/12 14:34:20 deniel Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -28,13 +28,13 @@
#define __PROTO_H__
#ifdef HAVE_SYS_TIME_H
- #ifndef _SYS_TIME_H
- #include <sys/time.h>
- #endif
+# ifndef _SYS_TIME_H
+# include <sys/time.h>
+# endif
#endif
#ifdef HAVE_WINSOCK_H
-#include <winsock.h>
+# include <winsock.h>
#endif
/* needs glib.h */