summaryrefslogtreecommitdiff
path: root/multimedia/xawtv/files/patch-console__showqt.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/xawtv/files/patch-console__showqt.c')
-rw-r--r--multimedia/xawtv/files/patch-console__showqt.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/multimedia/xawtv/files/patch-console__showqt.c b/multimedia/xawtv/files/patch-console__showqt.c
new file mode 100644
index 000000000000..970608babebe
--- /dev/null
+++ b/multimedia/xawtv/files/patch-console__showqt.c
@@ -0,0 +1,18 @@
+--- console/showqt.c.orig Tue Nov 19 23:49:53 2002
++++ console/showqt.c Tue Nov 19 23:57:26 2002
+@@ -11,6 +11,15 @@
+ #include <inttypes.h>
+ #include <time.h>
+
++#if !defined(PRId64)
++#define PRId64 "lld"
++#endif
++
++#if !defined(PRIx64)
++#define PRIx64 "llX"
++#endif
++
++
+ #if BYTE_ORDER == LITTLE_ENDIAN
+ # define SWAP2(x) (((x>>8) & 0x00ff) |\
+ ((x<<8) & 0xff00))