summaryrefslogtreecommitdiff
path: root/network/leafnode/sizeof_fix.diff
diff options
context:
space:
mode:
Diffstat (limited to 'network/leafnode/sizeof_fix.diff')
-rw-r--r--network/leafnode/sizeof_fix.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/network/leafnode/sizeof_fix.diff b/network/leafnode/sizeof_fix.diff
new file mode 100644
index 0000000000..a5e519dfb0
--- /dev/null
+++ b/network/leafnode/sizeof_fix.diff
@@ -0,0 +1,12 @@
+--- a/system.h 2008-12-29 22:24:30.000000000 +1100
++++ b/system.h 2010-05-26 19:39:22.376358080 +1000
+@@ -20,9 +20,6 @@
+ #include <inttypes.h>
+ #elif HAVE_STDINT_H
+ #include <stdint.h>
+-#elif sizeof(unsigned long) == 4 && sizeof(unsigned char) == 1
+-typedef unsigned long uint32_t;
+-typedef unsigned char uint8_t;
+ #else
+ #error "I cannot figure how to define uint32_t and uint8_t."
+ #endif