aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/nbd-client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/nbd-client.c b/networking/nbd-client.c
index 5ac190c32..8b856eda7 100644
--- a/networking/nbd-client.c
+++ b/networking/nbd-client.c
@@ -46,7 +46,9 @@ int nbdclient_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int nbdclient_main(int argc, char **argv)
{
unsigned long timeout = 0;
+#if BB_MMU
int nofork = 0;
+#endif
char *host, *port, *device;
struct nbd_header_t {
uint64_t magic1; // "NBDMAGIC"