summaryrefslogtreecommitdiff
path: root/acconfig.h
diff options
context:
space:
mode:
authorassar <assar>2000-07-11 00:48:05 +0000
committerassar <assar>2000-07-11 00:48:05 +0000
commit7804899c0f924d8265df45068aaaa3e02005bbbf (patch)
tree5bebf1a6a8f5d3856cc2f3e6169ecf4aa17ec455 /acconfig.h
parentf7e4abb03d903c5d54557e55c86be379cdf4a31e (diff)
downloadtcpdump-7804899c0f924d8265df45068aaaa3e02005bbbf.tar.gz
add __P
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h
index 7d1ae84e..261e317c 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -2,6 +2,15 @@
* make them to acconfig.h and rerun autoheader */
@TOP@
+/* Define __P() macro, if necessary */
+#ifndef __P
+#if __STDC__
+#define __P(protos) protos
+#else
+#define __P(protos) ()
+#endif
+#endif
+
/* Define if you have SSLeay 0.9.0b with the buggy cast128. */
#undef HAVE_BUGGY_CAST128