summaryrefslogtreecommitdiffstats
path: root/libaf
diff options
context:
space:
mode:
Diffstat (limited to 'libaf')
-rw-r--r--libaf/af_format.c2
-rw-r--r--libaf/af_format.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libaf/af_format.c b/libaf/af_format.c
index 5cee93442c..b9f13e6dca 100644
--- a/libaf/af_format.c
+++ b/libaf/af_format.c
@@ -26,7 +26,7 @@
#include <inttypes.h>
#include <limits.h>
#include <math.h>
-#include <endian.h>
+#include <sys/types.h>
#include "config.h"
#include "af.h"
diff --git a/libaf/af_format.h b/libaf/af_format.h
index 73e4c88c3e..751e97ef3a 100644
--- a/libaf/af_format.h
+++ b/libaf/af_format.h
@@ -23,7 +23,7 @@
#ifndef MPLAYER_AF_FORMAT_H
#define MPLAYER_AF_FORMAT_H
-#include <endian.h>
+#include <sys/types.h>
#include "config.h"
// Endianness