libdc1394/libdc1394-swab_fix.patch

17 lines
375 B
Diff
Raw Normal View History

--- libdc1394-2/dc1394/conversions.c
+++ libdc1394-2/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