summaryrefslogtreecommitdiff
path: root/package/atftp/patches/patch-argz_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/atftp/patches/patch-argz_h')
-rw-r--r--package/atftp/patches/patch-argz_h25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/atftp/patches/patch-argz_h b/package/atftp/patches/patch-argz_h
new file mode 100644
index 000000000..43f5d58dd
--- /dev/null
+++ b/package/atftp/patches/patch-argz_h
@@ -0,0 +1,25 @@
+--- atftp-0.7.1.orig/argz.h 2011-03-11 07:51:24.000000000 +0100
++++ atftp-0.7.1/argz.h 2016-10-19 20:02:27.000000000 +0200
+@@ -48,6 +48,22 @@
+ # define __const const
+ #endif
+
++#ifndef __THROW
++# define __THROW
++#endif
++
++#ifndef __BEGIN_DECLS
++# define __BEGIN_DECLS
++#endif
++
++#ifndef __END_DECLS
++# define __END_DECLS
++#endif
++
++#ifndef __attribute_pure__
++# define __attribute_pure__
++#endif
++
+ #ifndef __error_t_defined
+ typedef int error_t;
+ #endif