diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-30 09:58:28 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-30 09:58:28 +0100 |
commit | bef35f5a12ad435785fed9b8fec1a8459fdb0c15 (patch) | |
tree | a1d541d87ac189b1d84134deff6ef4e13edab492 /package/atftp/patches/patch-argz_h | |
parent | 689658b9440e5b3c2c063a4efa40e003ef358975 (diff) |
atftp: fix musl compile
Diffstat (limited to 'package/atftp/patches/patch-argz_h')
-rw-r--r-- | package/atftp/patches/patch-argz_h | 25 |
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 |