Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
#include <errno.h>
#include <sys/stat.h>
#include <endian.h> /* for __BYTE_ORDER */
-#if defined(__CYGWIN__)
-# include <byteswap.h>
-#endif
+#include <byteswap.h>
#if (__BYTE_ORDER == __LITTLE_ENDIAN)
# define HOST_TO_LE16(x) (x)
#include <errno.h>
#include <sys/stat.h>
#include <endian.h> /* for __BYTE_ORDER */
-#if defined(__CYGWIN__)
-# include <byteswap.h>
-#endif
+#include <byteswap.h>
#include "csysimg.h"
#include <errno.h>
#include <sys/stat.h>
#include <endian.h> /* for __BYTE_ORDER */
-
-#if defined(__CYGWIN__)
-# include <byteswap.h>
-#endif
+#include <byteswap.h>
#if (__BYTE_ORDER == __LITTLE_ENDIAN)
# define HOST_TO_LE16(x) (x)
* Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
*/
+#include <byteswap.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>