summaryrefslogtreecommitdiff
path: root/ext4_utils/sha1.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext4_utils/sha1.c')
-rw-r--r--ext4_utils/sha1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext4_utils/sha1.c b/ext4_utils/sha1.c
index 1db9134a..463ec388 100644
--- a/ext4_utils/sha1.c
+++ b/ext4_utils/sha1.c
@@ -17,7 +17,9 @@
#define SHA1HANDSOFF /* Copies data before messing with it. */
+#ifndef USE_MINGW
#include <sys/cdefs.h>
+#endif
#include <sys/types.h>
#include <assert.h>
#include <string.h>