summaryrefslogtreecommitdiff
path: root/package/atftp/patches/patch-argz_h
blob: 43f5d58dd7db97c5254c7152a1e854db5f411ec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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