aboutsummaryrefslogtreecommitdiffstats
path: root/rd
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-03-08 10:46:26 +0100
committerGerd Hoffmann <kraxel@redhat.com>2017-03-08 10:46:26 +0100
commit01d79c588f3046f0532cfb35173e5341e517db89 (patch)
treec9f472ea6b6d75f8b89645d1911cde689b61a5f2 /rd
parent21dfd8748970c484ca9886ee11b6ad33345c98be (diff)
downloadfbida-01d79c588f3046f0532cfb35173e5341e517db89.tar.gz
zap HAVE_ENDIAN_H
Diffstat (limited to 'rd')
-rw-r--r--rd/read-bmp.c4
-rw-r--r--rd/read-xwd.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/rd/read-bmp.c b/rd/read-bmp.c
index 55d8c33..f92a808 100644
--- a/rd/read-bmp.c
+++ b/rd/read-bmp.c
@@ -3,9 +3,7 @@
#include <stddef.h>
#include <string.h>
#include <errno.h>
-#ifdef HAVE_ENDIAN_H
-# include <endian.h>
-#endif
+#include <endian.h>
#include "readers.h"
diff --git a/rd/read-xwd.c b/rd/read-xwd.c
index ac254eb..c266624 100644
--- a/rd/read-xwd.c
+++ b/rd/read-xwd.c
@@ -5,9 +5,7 @@
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/XWDFile.h>
-#ifdef HAVE_ENDIAN_H
-# include <endian.h>
-#endif
+#include <endian.h>
#include "readers.h"
#include "viewer.h"