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 a2f71708b918c9cfbe62c579c3b6dec5e658cd95..8ec60426b36db25a43c5e84db8b7940414b8ce85 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 8c628f6be29be8d144670d1a42c6e7bc9facb5ba..10b6334c306b771b04fd81682e942c9fd6b694f6 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>