- (bal) NCR SVR4 compatiblity provide by Don Bragg <thewizarddon@yahoo.com>
diff --git a/includes.h b/includes.h
index 92013aa..a4ebbd3 100644
--- a/includes.h
+++ b/includes.h
@@ -45,8 +45,11 @@
 #include <time.h>
 #include <dirent.h>
 
+#ifdef HAVE_LIMITS_H
+# include <limits.h>
+#endif
 #ifdef HAVE_GETOPT_H
-#include <getopt.h>
+# include <getopt.h>
 #endif
 #ifdef HAVE_BSTRING_H
 # include <bstring.h>