summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-04-14 02:55:36 (GMT)
committer Slávek Banko <slavek.banko@axis.cz>2016-04-14 02:55:36 (GMT)
commita005a12fdc5faa565a2d2acccf48f75c0ecc0ca4 (patch)
treee2734f66daf9fa172106d98ae9b266875c4ddc83
parent09255fac060b4bf3426b2e45277d7d798c162767 (diff)
downloadlibr-a005a12f.zip
libr-a005a12f.tar.gz
Fix FTBFS on FreeBSD
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--src/tempfiles.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tempfiles.c b/src/tempfiles.c
index edf72a1..e4f633f 100644
--- a/src/tempfiles.c
+++ b/src/tempfiles.c
@@ -42,6 +42,10 @@
#include <sys/types.h>
#include <errno.h>
+#if defined(__FreeBSD__)
+#include <sys/syslimits.h>
+#endif
+
#ifndef FALSE
#define FALSE 0
#endif