aboutsummaryrefslogtreecommitdiffstats
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
parent21dfd8748970c484ca9886ee11b6ad33345c98be (diff)
downloadfbida-01d79c588f3046f0532cfb35173e5341e517db89.tar.gz
zap HAVE_ENDIAN_H
-rw-r--r--GNUmakefile1
-rw-r--r--rd/read-bmp.c4
-rw-r--r--rd/read-xwd.c4
3 files changed, 2 insertions, 7 deletions
diff --git a/GNUmakefile b/GNUmakefile
index a6f08f1..cd987ba 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -67,7 +67,6 @@ ac_jpeg_ver = $(shell \
define make-config
LIB := $(LIB)
RESDIR := $(call ac_resdir)
-HAVE_ENDIAN_H := $(call ac_header,endian.h)
HAVE_LINUX_FB_H := $(call ac_header,linux/fb.h)
HAVE_NEW_EXIF := $(call ac_header,libexif/exif-log.h)
HAVE_GLIBC := $(call ac_func,fopencookie)
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"