pthread: include sys/types.h before sys/sysctl.h

Fixes compilation on FreeBSD with clang 3.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/3/head
Janne Grunau 13 years ago committed by Michael Niedermayer
parent c25c7ba87c
commit 8d4668cc5f
  1. 2
      libavcodec/pthread.c

@ -37,8 +37,8 @@
#elif HAVE_GETSYSTEMINFO
#include <windows.h>
#elif HAVE_SYSCTL
#include <sys/sysctl.h>
#include <sys/types.h>
#include <sys/sysctl.h>
#endif
#include "avcodec.h"

Loading…
Cancel
Save