LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File libdc1394-swab_fix.patch of Package libdc1394 (Project multimedia:libs)

--- a/libdc1394-2.2.1/dc1394/conversions.c
+++ b/libdc1394-2.2.1/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