void-packages/srcpkgs/elfutils/patches/fix-system_h.patch

22 lines
433 B
Diff
Raw Normal View History

2017-01-20 02:08:54 +01:00
--- 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))