aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openipmi/stdint.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/openipmi/stdint.patch')
-rw-r--r--testing/openipmi/stdint.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/openipmi/stdint.patch b/testing/openipmi/stdint.patch
new file mode 100644
index 0000000000..5def30aad1
--- /dev/null
+++ b/testing/openipmi/stdint.patch
@@ -0,0 +1,13 @@
+diff --git a/ui/ui.c b/ui/ui.c
+index 8dcb41d..7dc7284 100644
+--- a/ui/ui.c
++++ b/ui/ui.c
+@@ -337,7 +337,7 @@ get_uint(char **toks, unsigned int *val, char *errstr)
+ static int
+ get_ip_addr(char **toks, struct in_addr *ip_addr, char *errstr)
+ {
+- u_int32_t addr;
++ uint32_t addr;
+ unsigned char val;
+ char *str, *tmpstr, *istr;
+ char *ntok;