projects
/
nbd.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fd7bd8c
)
r53: Move the #include <cliserv.h> to the top, to allow configure's
author
yoe <yoe>
Sun, 4 Apr 2004 11:04:52 +0000
(11:04 +0000)
committer
yoe <yoe>
Sun, 4 Apr 2004 11:04:52 +0000
(11:04 +0000)
--enable-lfs to work.
nbd-server.c
patch
|
blob
|
history
diff --git
a/nbd-server.c
b/nbd-server.c
index
69a5d8d
..
bc4b101
100644
(file)
--- a/
nbd-server.c
+++ b/
nbd-server.c
@@
-51,6
+51,12
@@
* <wouter@debian.org>
*/
* <wouter@debian.org>
*/
+/* used in cliserv.h, so must come first */
+#define MY_NAME "nbd_server"
+/* Includes LFS defines, which defines behaviours of some of the following
+ * headers, so must come before those */
+#include "cliserv.h"
+
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
@@
-72,10
+78,6
@@
#include <strings.h>
#include <dirent.h>
#include <strings.h>
#include <dirent.h>
-/* used in cliserv.h, so must come first */
-#define MY_NAME "nbd_server"
-#include "cliserv.h"
-
/** how much space for child PIDs we have by default. Dynamically
allocated, and will be realloc()ed if out of space, so this should
probably be fair for most situations. */
/** how much space for child PIDs we have by default. Dynamically
allocated, and will be realloc()ed if out of space, so this should
probably be fair for most situations. */