Index: patches/21_fix_build_with_new_glibc.patch |
diff --git a/patches/21_fix_build_with_new_glibc.patch b/patches/21_fix_build_with_new_glibc.patch |
index b02630d18305fa8e21e54eb4a6d5b76bc92f45cf..afd9ea14d551b0a786e3da8823a8e4587d351579 100644 |
--- a/patches/21_fix_build_with_new_glibc.patch |
+++ b/patches/21_fix_build_with_new_glibc.patch |
@@ -1,15 +1,15 @@ |
diff --git a/src/util.h b/src/util.h |
-index 0a2d941..e888e9f 100644 |
+index 64c2d04..02be5bf 100644 |
--- a/src/util.h |
+++ b/src/util.h |
-@@ -22,7 +22,10 @@ |
- |
+@@ -23,6 +23,10 @@ |
#ifndef __MTP__UTIL__H |
#define __MTP__UTIL__H |
-+ |
+ |
+#ifdef HAVE_CONFIG_H |
- #include "config.h" // To get HAVE_STRNDUP |
++#include "config.h" |
+#endif |
- |
++ |
void data_dump(FILE *f, void *buf, uint32_t nbytes); |
void data_dump_ascii (FILE *f, void *buf, uint32_t n, uint32_t dump_boundry); |
+ #ifndef HAVE_STRNDUP |