summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorMarco d'Itri <md@linux.it>2017-02-26 14:13:27 +0100
committerMarco d'Itri <md@linux.it>2017-02-26 14:13:27 +0100
commita4815eb370626ec070b5be0fe4a901feb7c020fa (patch)
tree1afee85a9f1309277d12a7e90216c3b2f9273ddc /config.h
parent4ac83a5f491abb935d8b11bbb406170231cb6abc (diff)
downloadwhois-a4815eb370626ec070b5be0fe4a901feb7c020fa.tar.gz
BSD portability fixes
Diffstat (limited to 'config.h')
-rw-r--r--config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.h b/config.h
index ee75c49..2cd4636 100644
--- a/config.h
+++ b/config.h
@@ -13,6 +13,10 @@
/* autoconf in cpp macros */
+#if defined __NetBSD__ || __OpenBSD__
+# include <sys/param.h>
+#endif
+
#ifdef linux
# define ENABLE_NLS
#endif