Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: patches/21_fix_build_with_new_glibc.patch

Issue 2345493002: Uprev libmtp to 1.1.12 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libmtp@master
Patch Set: Re-upload cl Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « patches/20_get_thumbnail_format.patch ('k') | src/Makefile.am » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 diff --git a/src/util.h b/src/util.h 1 diff --git a/src/util.h b/src/util.h
2 index 64c2d04..02be5bf 100644 2 index 0a2d941..e888e9f 100644
3 --- a/src/util.h 3 --- a/src/util.h
4 +++ b/src/util.h 4 +++ b/src/util.h
5 @@ -23,6 +23,10 @@ 5 @@ -22,7 +22,10 @@
6
6 #ifndef __MTP__UTIL__H 7 #ifndef __MTP__UTIL__H
7 #define __MTP__UTIL__H 8 #define __MTP__UTIL__H
8 9 +
9 +#ifdef HAVE_CONFIG_H 10 +#ifdef HAVE_CONFIG_H
10 +#include "config.h" 11 #include "config.h" // To get HAVE_STRNDUP
11 +#endif 12 +#endif
12 + 13
13 void data_dump(FILE *f, void *buf, uint32_t nbytes); 14 void data_dump(FILE *f, void *buf, uint32_t nbytes);
14 void data_dump_ascii (FILE *f, void *buf, uint32_t n, uint32_t dump_boundry); 15 void data_dump_ascii (FILE *f, void *buf, uint32_t n, uint32_t dump_boundry);
15 #ifndef HAVE_STRNDUP
OLDNEW
« no previous file with comments | « patches/20_get_thumbnail_format.patch ('k') | src/Makefile.am » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698