Changes of Revision 9
[-] [+] | Changed | xvid.spec |
[-] [+] | Added | xvidcore-1.2.0-compilefix.patch ^ |
@@ -0,0 +1,21 @@ +--- src/xvid.c.orig 2008-12-03 21:57:25.000000000 +0100 ++++ src/xvid.c 2008-12-03 21:58:25.000000000 +0100 +@@ -28,6 +28,10 @@ + #include <string.h> + #include <time.h> + ++#if !defined(_WIN32) ++#include <unistd.h> ++#endif ++ + #include "xvid.h" + #include "decoder.h" + #include "encoder.h" +@@ -675,7 +679,6 @@ + + #else + +- #include <unistd.h> + info->num_threads = sysconf(_SC_NPROCESSORS_CONF); + + #endif |