summaryrefslogtreecommitdiff
path: root/audio/jack/files/patch-jack.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/jack/files/patch-jack.h')
-rw-r--r--audio/jack/files/patch-jack.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/audio/jack/files/patch-jack.h b/audio/jack/files/patch-jack.h
new file mode 100644
index 000000000000..74a2c0732793
--- /dev/null
+++ b/audio/jack/files/patch-jack.h
@@ -0,0 +1,17 @@
+--- jack/types.h.org Tue Mar 9 20:12:17 2004
++++ jack/types.h Tue Mar 9 20:12:22 2004
+@@ -22,6 +22,14 @@
+ #define __jack_types_h__
+
+ #include <inttypes.h>
++#ifndef PRIu32
++#define PRIi32 "i" /* int32_t */
++#define PRIu32 "u" /* uint32_t */
++#define PRIu64 "llu" /* uint64_t */
++#define SCNu64 "llu" /* uint64_t */
++#define PRId32 "d" /* int32_t */
++#define PRIx64 "llx" /* uint64_t */
++#endif
+
+ typedef char shm_name_t[32];
+ typedef int32_t jack_shmsize_t;