summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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