diff options
-rw-r--r-- | GNUmakefile | 1 | ||||
-rw-r--r-- | rd/read-bmp.c | 4 | ||||
-rw-r--r-- | rd/read-xwd.c | 4 |
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" |