summaryrefslogtreecommitdiffstats
path: root/sk-usbhid.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2023-07-18 15:41:12 +1000
committerDamien Miller <djm@mindrot.org>2023-07-18 15:41:12 +1000
commit750911fd31d307a767cc86e3bfa90bbbb77b1a25 (patch)
tree895aac5d6779f68ac7d82f06d5d6319dd853ff3e /sk-usbhid.c
parentff047504fa6e008c4092f8929881816b8993bea0 (diff)
conditionalise stdint.h inclusion on HAVE_STDINT_H
fixes build on AIX5 at least
Diffstat (limited to 'sk-usbhid.c')
-rw-r--r--sk-usbhid.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sk-usbhid.c b/sk-usbhid.c
index 7bb829aa..812b28d8 100644
--- a/sk-usbhid.c
+++ b/sk-usbhid.c
@@ -20,7 +20,9 @@
#ifdef ENABLE_SK_INTERNAL
-#include <stdint.h>
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include <stdio.h>