summaryrefslogtreecommitdiffstats
path: root/lib/libpcap/pcap-int.h
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-07-26 03:43:43 +0000
committerderaadt <deraadt@openbsd.org>1996-07-26 03:43:43 +0000
commitc69d33f6d3aa6cd8dc795186bb2b9f846523881d (patch)
treed86ae2ba98e634dd1fe408f00fdb35433b223700 /lib/libpcap/pcap-int.h
parentfix a comment of mine (diff)
downloadwireguard-openbsd-c69d33f6d3aa6cd8dc795186bb2b9f846523881d.tar.xz
wireguard-openbsd-c69d33f6d3aa6cd8dc795186bb2b9f846523881d.zip
HAVE_STRERROR for __OpenBSD__
Diffstat (limited to 'lib/libpcap/pcap-int.h')
-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