Displaying 1 result from an estimated 1 matches for "_linux_if_h".
Did you mean:
_linux_elf_h
2007 Nov 22
1
[Bridge] Conflict between net/if.h and linux/if.h
...on of `struct ifconf'
I modify the libbridge.h to include the net/if.h only if the
linux/if.h is not define :
--- libbridge.h 2007-11-22 12:16:17.000000000 +0100
+++ libbridge_modify.h 2007-11-22 12:15:58.000000000 +0100
@@ -19,7 +19,9 @@
#ifndef _LIBBRIDGE_H
#define _LIBBRIDGE_H
+#ifndef _LINUX_IF_H
#include <net/if.h>
+#endif
#include <linux/if_bridge.h>
struct bridge_id
Do you think it's a good solution ?
Doude.