summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-26 03:43:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-26 03:43:44 +0000
commit4892c176debecaa8b448d7694947f8a7433312c4 (patch)
treecbc9016b09722a53bbd3f3266e98ac395b75b3d7
parent7076d568e1669652449c62a28d956e2b26bd2cd5 (diff)
HAVE_STRERROR for __OpenBSD__
-rw-r--r--lib/libpcap/pcap-int.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libpcap/pcap-int.h b/lib/libpcap/pcap-int.h
index 697c09f97d5..7eedc9af083 100644
--- a/lib/libpcap/pcap-int.h
+++ b/lib/libpcap/pcap-int.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcap-int.h,v 1.4 1996/07/12 13:19:11 mickey Exp $ */
+/* $OpenBSD: pcap-int.h,v 1.5 1996/07/26 03:43:43 deraadt Exp $ */
/*
* Copyright (c) 1994, 1995
@@ -104,3 +104,7 @@ int pcap_read(pcap_t *, int cnt, pcap_handler, u_char *);
#define PCAP_FDDIPAD 3
#endif
#endif
+
+#ifdef __OpenBSD__
+#define HAVE_STRERROR
+#endif