libdc1394/libdc1394-swab_fix.patch
OBS User autobuild c0caeb1691 Accepting request 27754 from multimedia:libs
Copy from multimedia:libs/libdc1394 based on submit request 27754 from user tiwai

OBS-URL: https://build.opensuse.org/request/show/27754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdc1394?expand=0&rev=13
2009-12-29 23:24:01 +00:00

21 lines
492 B
Diff

---
libdc1394-2.0.2/dc1394/conversions.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
--- a/libdc1394-2.1.2/dc1394/conversions.c
+++ b/libdc1394-2.1.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