summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libffmpeg/libavcodec/common.h')
-rw-r--r--src/libffmpeg/libavcodec/common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libffmpeg/libavcodec/common.h b/src/libffmpeg/libavcodec/common.h
index 93b91d3e8..8cc781edb 100644
--- a/src/libffmpeg/libavcodec/common.h
+++ b/src/libffmpeg/libavcodec/common.h
@@ -22,7 +22,11 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#ifndef __BEOS__
#include <errno.h>
+#else
+#include "berrno.h"
+#endif
#include <math.h>
#ifndef ENODATA
@@ -105,10 +109,6 @@ typedef signed long long INT64;
#ifdef HAVE_AV_CONFIG_H
-#ifdef __FreeBSD__
-#include <sys/param.h>
-#endif
-
#ifndef INT64_C
#define INT64_C(c) (c ## LL)
#define UINT64_C(c) (c ## ULL)