From a3615a41cde09720219010f8b6c3b3a9d2ab6730 Mon Sep 17 00:00:00 2001 From: yoe Date: Sun, 4 Apr 2004 11:04:52 +0000 Subject: [PATCH] r53: Move the #include to the top, to allow configure's --enable-lfs to work. --- nbd-server.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/nbd-server.c b/nbd-server.c index 69a5d8d..bc4b101 100644 --- a/nbd-server.c +++ b/nbd-server.c @@ -51,6 +51,12 @@ * */ +/* 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 #include #include @@ -72,10 +78,6 @@ #include #include -/* 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. */ -- 1.7.10.4