summaryrefslogtreecommitdiffstats
path: root/k9decmpeg/mmx.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-05-02 01:32:05 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-05-02 01:32:05 +0200
commitced814784b055ce98204e74b54335f7a2f8ffe16 (patch)
tree62c5da15640219d90f70fd7b6493a10439148e70 /k9decmpeg/mmx.h
parent2456e6ce6123b5324d35c2192e38660d1cb3342d (diff)
downloadk9copy-ced814784b055ce98204e74b54335f7a2f8ffe16.tar.gz
k9copy-ced814784b055ce98204e74b54335f7a2f8ffe16.zip
Fix FTBFS for build with --enable-final.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'k9decmpeg/mmx.h')
-rw-r--r--k9decmpeg/mmx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/k9decmpeg/mmx.h b/k9decmpeg/mmx.h
index a410caa..01943de 100644
--- a/k9decmpeg/mmx.h
+++ b/k9decmpeg/mmx.h
@@ -27,6 +27,9 @@
* values by ULL, lest they be truncated by the compiler)
*/
+#ifndef MMX_H
+#define MMX_H
+
typedef union {
long long q; /* Quadword (64-bit) value */
unsigned long long uq; /* Unsigned Quadword */
@@ -261,3 +264,5 @@ typedef union {
#define pshufw_r2r(regs,regd,imm) mmx_r2ri(pshufw, regs, regd, imm)
#define sfence() __asm__ __volatile__ ("sfence\n\t")
+
+#endif /* MMX_H */