aboutsummaryrefslogtreecommitdiffstats
path: root/packages/curl/files/uclibc.patch
blob: 15a9012705254cb4fb2466d6f4f9f7e4e9d3301b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: curl-7.12.2/lib/mprintf.c
===================================================================
--- curl-7.12.2.orig/lib/mprintf.c	2004-06-24 07:54:11.000000000 -0400
+++ curl-7.12.2/lib/mprintf.c	2005-02-02 17:15:45.435748600 -0500
@@ -1134,8 +1134,10 @@
 }
 
 #ifndef WIN32 /* not needed on win32 */
+#ifndef __UCLIBC__ /* not needed for uclibc, and breaks the build */
 extern int fputc(int, FILE *);
 #endif
+#endif
 
 int curl_mprintf(const char *format, ...)
 {