otrx: avoid unneeded fseek() when calculating CRC32
[project/firmware-utils.git] / src / mkmylofw.c
index 9999b3c235c874202acff4c20300dd1a979ba49e..fd79f1ca83d3a87157fe313750e25847134c3c0d 100644 (file)
 #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)