diff options
Diffstat (limited to 'sysutils/prelink/files/patch-src-undo.c')
| -rw-r--r-- | sysutils/prelink/files/patch-src-undo.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sysutils/prelink/files/patch-src-undo.c b/sysutils/prelink/files/patch-src-undo.c new file mode 100644 index 000000000000..92889a5c9362 --- /dev/null +++ b/sysutils/prelink/files/patch-src-undo.c @@ -0,0 +1,17 @@ +diff -Nur src/undo.c src/undo.c +--- src/undo.c 2013-02-19 23:54:34.000000000 +0200 ++++ src/undo.c 2013-02-19 23:50:31.000000000 +0200 +@@ -17,7 +17,13 @@ + + #include <config.h> + #include <assert.h> ++ ++#if HAVE_ENDIAN_H + #include <endian.h> ++#elif HAVE_SYS_ENDIAN_H ++#include <sys/endian.h> ++#endif ++ + #include <errno.h> + #include <error.h> + #include <fcntl.h> |
