22 lines
433 B
Diff
22 lines
433 B
Diff
--- lib/crc32_file.c.orig
|
|
+++ lib/crc32_file.c
|
|
@@ -35,6 +35,7 @@
|
|
#include <unistd.h>
|
|
#include <sys/stat.h>
|
|
#include <sys/mman.h>
|
|
+#include "system.h"
|
|
|
|
int
|
|
crc32_file (int fd, uint32_t *resp)
|
|
--- lib/system.h.orig
|
|
+++ lib/system.h
|
|
@@ -81,7 +81,7 @@
|
|
do \
|
|
__res = expression; \
|
|
while (__res == -1 && errno == EINTR); \
|
|
- __res; });
|
|
+ __res; })
|
|
#endif
|
|
|
|
static inline ssize_t __attribute__ ((unused))
|