pthread: include sys/types.h before sys/sysctl.h
[ffmpeg.git] / libavcodec / pthread.c
index 0b57156..8914150 100644 (file)
@@ -37,8 +37,8 @@
 #elif HAVE_GETSYSTEMINFO
 #include <windows.h>
 #elif HAVE_SYSCTL
 #elif HAVE_GETSYSTEMINFO
 #include <windows.h>
 #elif HAVE_SYSCTL
-#include <sys/sysctl.h>
 #include <sys/types.h>
 #include <sys/types.h>
+#include <sys/sysctl.h>
 #endif
 
 #include "avcodec.h"
 #endif
 
 #include "avcodec.h"