aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common.h2
-rw-r--r--sum_fd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/common.h b/common.h
index 2c8250c..6d9d067 100644
--- a/common.h
+++ b/common.h
@@ -5,8 +5,8 @@
#include <alloca.h>
#include <errno.h>
#include <inttypes.h>
-#include <stdlib.h>
#include <stddef.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/sum_fd.c b/sum_fd.c
index 73a5a5a..c4f41d0 100644
--- a/sum_fd.c
+++ b/sum_fd.c
@@ -52,7 +52,7 @@ libsha1_sum_fd(int fd, enum libsha1_algorithm algorithm, void *restrict hashsum)
if (errno == EINTR)
continue;
#if ALLOCA_LIMIT <= 0
- free(chunk);
+ free(chunk);
#endif
return -1;
}