summaryrefslogtreecommitdiffstats
path: root/defines.h
diff options
context:
space:
mode:
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 3db1d0d95..519ebbaa2 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