--- 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