[BusyBox] [PATCH] fix compilation of libbb/interface.c
Bernhard Fischer
rep.nop at aon.at
Sun Jul 3 17:59:45 UTC 2005
Hi,
- reorder includes to make interface.c compile when IPv6 is enabled.
libbb.h includes config.h, so it must be included before inet_common.h
Thank you,
Bernhard
-------------- next part --------------
Index: libbb/interface.c
===================================================================
--- libbb/interface.c (revision 10709)
+++ libbb/interface.c (working copy)
@@ -60,8 +60,6 @@
#define HAVE_HWPPP 1
#undef HAVE_HWSLIP
-
-#include "inet_common.h"
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
@@ -74,6 +72,7 @@
#include <net/if.h>
#include <net/if_arp.h>
#include "libbb.h"
+#include "inet_common.h"
#ifdef CONFIG_FEATURE_IPV6
# define HAVE_AFINET6 1
More information about the busybox
mailing list