chiark / gitweb /
build: #include <limits.h>
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 25 Nov 2017 14:16:32 +0000 (14:16 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 25 Nov 2017 14:16:33 +0000 (14:16 +0000)
Fixes the build on jessie.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
secnet.h

index a2f7170..8ec6042 100644 (file)
@@ -1,6 +1,7 @@
 secnet (0.4.2~) unstable; urgency=medium
 
   Build etc. fixes:
+  * #include <limits.h> (fixes the build on jessie).
   * Tolerate building from a git checkout, but with git not installed.
     (This can happen in chroots.)
 
index 8c628f6..10b6334 100644 (file)
--- a/secnet.h
+++ b/secnet.h
@@ -32,6 +32,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <errno.h>
+#include <limits.h>
 #include <fnmatch.h>
 #include <sys/poll.h>
 #include <sys/types.h>