Browse Source

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

Fixes compilation on FreeBSD with clang 3.
tags/n0.10
Janne Grunau 14 years ago
parent
commit
846dca1aa3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/pthread.c

+ 1
- 1
libavcodec/pthread.c View File

@@ -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