summaryrefslogtreecommitdiff
path: root/package/imagemagick/imagemagick-6.6.4-add-errno-h-if-argz-h-does-not-exist.patch
blob: 66a6747fd617eb55c4f977343b95a8e4107c409c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/configure	2010-09-26 17:05:45.000000000 -0700
+++ b/configure	2010-09-30 23:47:09.000000000 -0700
@@ -20354,6 +20354,8 @@ done
 
 ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
 #  include <argz.h>
+#else
+#  include <errno.h>
 #endif
 "
 if test "x$ac_cv_type_error_t" = xyes; then :