aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/portability.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/portability.h b/lib/portability.h
index afe02c1c..e0dd914e 100644
--- a/lib/portability.h
+++ b/lib/portability.h
@@ -45,6 +45,10 @@
#define RLIMIT_RTTIME 15
#endif
+#ifndef SEEK_DATA
+#define SEEK_DATA 3
+#endif
+
// We don't define GNU_dammit because we're not part of the gnu project, and
// don't want to get any FSF on us. Unfortunately glibc (gnu libc)
// won't give us Linux syscall wrappers without claiming to be part of the