SHA256
1
0
forked from pool/libdc1394
libdc1394/libdc1394-swab_fix.patch

21 lines
492 B
Diff

---
libdc1394-2.0.2/dc1394/conversions.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
--- a/libdc1394-2.1.3/dc1394/conversions.c
+++ b/libdc1394-2.1.3/dc1394/conversions.c
@@ -22,11 +22,10 @@
#include <string.h>
#include <stdlib.h>
+#define _XOPEN_SOURCE
+#include <unistd.h>
#include "conversions.h"
-// this should disappear...
-extern void swab();
-
/**********************************************************************
*
* CONVERSION FUNCTIONS TO YUV422