aboutsummaryrefslogtreecommitdiffstats
path: root/rd
diff options
context:
space:
mode:
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"