summaryrefslogtreecommitdiff
path: root/zebra
diff options
context:
space:
mode:
authorAndrew J. Schorr <ajschorr@alumni.princeton.edu>2006-08-02 16:47:03 +0000
committerAndrew J. Schorr <ajschorr@alumni.princeton.edu>2006-08-02 16:47:03 +0000
commita6974fef057a6673be3bb11042a92c9490ece894 (patch)
treed1e127eb06400f4be1166a6a3ce763dc2041ca5b /zebra
parentc3eab60e7753ed34d30c978f9d4034562bf1df55 (diff)
[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.
Diffstat (limited to 'zebra')
-rw-r--r--zebra/ChangeLog5
-rw-r--r--zebra/misc_null.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/zebra/ChangeLog b/zebra/ChangeLog
index fde3f513..72245eb3 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 8063c90d..b6a124ff 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