Browse Source

Fixed undefined types.

Brucey 1 year ago
parent
commit
1d88b6fd52
1 changed files with 6 additions and 0 deletions
  1. 6 0
      soloud.mod/dataqueue/dataqueue.h

+ 6 - 0
soloud.mod/dataqueue/dataqueue.h

@@ -24,6 +24,12 @@
 #include <stdlib.h>
 #include <string.h>
 
+#if __STDC_VERSION__ >= 199901L
+    #include <stdint.h>
+#else
+    typedef unsigned char uint8_t;
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif