projects
/
nbd.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add nbd-trdump - utilty to dump traces
[nbd.git]
/
cliserv.h
diff --git
a/cliserv.h
b/cliserv.h
index
b32626f
..
51b1a9e
100644
(file)
--- a/
cliserv.h
+++ b/
cliserv.h
@@
-40,7
+40,12
@@
typedef unsigned long long u64;
#include "nbd.h"
#if NBD_LFS==1
+/* /usr/include/features.h (included from /usr/include/sys/types.h)
+ defines this when _GNU_SOURCE is defined
+ */
+#ifndef _LARGEFILE_SOURCE
#define _LARGEFILE_SOURCE
+#endif
#define _FILE_OFFSET_BITS 64
#endif