summaryrefslogtreecommitdiffstats
path: root/src/tempfiles.c
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-04-14 04:55:36 +0200
committerSlávek Banko <[email protected]>2016-04-14 04:55:36 +0200
commita005a12fdc5faa565a2d2acccf48f75c0ecc0ca4 (patch)
treee2734f66daf9fa172106d98ae9b266875c4ddc83 /src/tempfiles.c
parent09255fac060b4bf3426b2e45277d7d798c162767 (diff)
downloadlibr-a005a12fdc5faa565a2d2acccf48f75c0ecc0ca4.tar.gz
libr-a005a12fdc5faa565a2d2acccf48f75c0ecc0ca4.zip
Fix FTBFS on FreeBSD
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/tempfiles.c')
-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