avformat/unix: reshuffle #includes
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 21 Aug 2013 03:46:34 +0000 (05:46 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 21 Aug 2013 03:51:41 +0000 (05:51 +0200)
This should fix openbsd while hopefully also working on solaris & android

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/unix.c

index 25af4101a1517e78311c4ea61ac1a8869391271f..0e61318fbd8ee144a4ac0d9a46fb33f20bcf592d 100644 (file)
  *
  */
 
-#include <sys/socket.h>
-#include <sys/un.h>
-
 #include "libavutil/avstring.h"
 #include "libavutil/opt.h"
 #include "os_support.h"
 #include "network.h"
+#include <sys/un.h>
 #include "url.h"
 
 typedef struct UnixContext {