summaryrefslogtreecommitdiff
path: root/lib/sha1.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-10-04 20:17:39 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-10-04 20:17:39 +0000
commit917752adb19961999cd68c6c961efffe33c85141 (patch)
tree425bfa28f1f3290b2e55bf145f4d3d92bfab665a /lib/sha1.c
parent0259a3cf21ed6cdc578de653002918105b27d5bf (diff)
downloadgnulib-917752adb19961999cd68c6c961efffe33c85141.tar.gz
Remove dependencies on unlocked-io.
Diffstat (limited to 'lib/sha1.c')
-rw-r--r--lib/sha1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sha1.c b/lib/sha1.c
index c86140caac..2bed14dbb8 100644
--- a/lib/sha1.c
+++ b/lib/sha1.c
@@ -31,7 +31,9 @@
#include <stddef.h>
#include <string.h>
-#include "unlocked-io.h"
+#if USE_UNLOCKED_IO
+# include "unlocked-io.h"
+#endif
/*
Not-swap is a macro that does an endian swap on architectures that are