[testzebra] Patch to misc_null.c to get older gcc to recognize #pragma tricks
2006-08-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* misc_null.c: Must include header files to get older versions of gcc
to process the #pragma statements properly.
diff --git a/zebra/ChangeLog b/zebra/ChangeLog
index fde3f51..72245eb 100644
--- a/zebra/ChangeLog
+++ b/zebra/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
+
+ * misc_null.c: Must include header files to get older versions of gcc
+ to process the #pragma statements properly.
+
2006-07-27 Paul Jakma <paul.jakma@sun.com>
* {ioctl,kernel}_null.c: Dummy/Null kernel method implementations,
diff --git a/zebra/misc_null.c b/zebra/misc_null.c
index 8063c90..b6a124f 100644
--- a/zebra/misc_null.c
+++ b/zebra/misc_null.c
@@ -1,3 +1,8 @@
+#include <zebra.h>
+
+#include "prefix.h"
+#include "zebra/rtadv.h"
+#include "zebra/irdp.h"
void ifstat_update_proc (void) { return; }
#pragma weak rtadv_config_write = ifstat_update_proc