summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-01-21 00:18:15 +1100
committerDamien Miller <djm@mindrot.org>2000-01-21 00:18:15 +1100
commitee1c0b3d3b1334d2e498aded0151ea8c0d804ebc (patch)
treeb31349cb094ac87bfcd36169810282a961be8f10 /defines.h
parenteab2ce023614ca49ad9d79c7c5a7ca8ee6204e7d (diff)
- NetBSD patch from David Rankin <drankin@bohemians.lexington.ky.us> and
Christos Zoulas <christos@netbsd.org>
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/defines.h b/defines.h
index 3db1d0d9..519ebbaa 100644
--- a/defines.h
+++ b/defines.h
@@ -34,6 +34,10 @@
# include <sys/cdefs.h> /* For __P() */
#endif
+#ifdef HAVE_SYS_SYSMACROS_H
+# include <sys/sysmacros.h> /* For MIN, MAX, etc */
+#endif
+
/* Constants */
#ifndef SHUT_RDWR