summaryrefslogtreecommitdiff
path: root/net/quagga/files/patch-ospfd-ospfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/quagga/files/patch-ospfd-ospfd.h')
-rw-r--r--net/quagga/files/patch-ospfd-ospfd.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/quagga/files/patch-ospfd-ospfd.h b/net/quagga/files/patch-ospfd-ospfd.h
new file mode 100644
index 000000000000..05707c4b6e68
--- /dev/null
+++ b/net/quagga/files/patch-ospfd-ospfd.h
@@ -0,0 +1,13 @@
+--- ospfd/ospfd.h.orig Fri Feb 3 13:39:58 2006
++++ ospfd/ospfd.h Fri Feb 3 13:40:51 2006
+@@ -26,6 +26,10 @@
+ #include "filter.h"
+ #include "log.h"
+
++#if !defined(UINT16_MAX)
++#define UINT16_MAX 0xffff
++#endif
++
+ #define OSPF_VERSION 2
+
+ /* Default protocol, port number. */