maint: remove now-unnecessary #ifdef HAVE_BYTESWAP_H guard
authorJim Meyering <meyering@redhat.com>
Tue, 28 Jun 2011 18:09:50 +0000 (20:09 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 28 Jun 2011 22:30:12 +0000 (23:30 +0100)
* lib/byte_conversions.h: Remove #ifdef HAVE_BYTESWAP_H guard.
With gnulib, we're guaranteed to have that header file.
* bootstrap (modules): Use the byteswap module.

bootstrap
lib/byte_conversions.h

index 638d230..79b6717 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -55,6 +55,7 @@ gnulib_tool=$GNULIB_SRCDIR/gnulib-tool
 <$gnulib_tool || exit
 
 modules='
+byteswap
 c-ctype
 fcntl
 full-read
index 84e9e2d..aa4ffe6 100644 (file)
@@ -18,9 +18,7 @@
 #ifdef HAVE_ENDIAN_H
 #include <endian.h>
 #endif
-#ifdef HAVE_BYTESWAP_H
 #include <byteswap.h>
-#endif
 
 #if __BYTE_ORDER == __LITTLE_ENDIAN
 #ifndef be32toh