summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
Diffstat (limited to 'loader')
-rw-r--r--loader/net.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/loader/net.c b/loader/net.c
index e816bf6cb..2d3a7bf9e 100644
--- a/loader/net.c
+++ b/loader/net.c
@@ -475,7 +475,9 @@ int configureNetwork(struct networkDeviceConfig * dev) {
int writeNetInfo(const char * fn, struct networkDeviceConfig * dev,
struct knownDevices * kd) {
FILE * f;
+#ifndef __STANDALONE__
int i;
+#endif
#ifndef __STANDALONE__
for (i = 0; i < kd->numKnown; i++)