Gawk does not use Gnulib, and does not define _GL_ATTRIBUTE_MALLOC.
* lib/dfa.h (_GL_ATTRIBUTE_MALLOC): Define to empty
if not already defined.
2019-12-16 Paul Eggert <eggert@cs.ucla.edu>
+ dfa: port _GL_ATTRIBUTE_MALLOC to Gawk
+ Gawk does not use Gnulib, and does not define _GL_ATTRIBUTE_MALLOC.
+ * lib/dfa.h (_GL_ATTRIBUTE_MALLOC): Define to empty
+ if not already defined.
+
dfa: remove one dependency on MB_CUR_MAX
* lib/dfa.c (dfamust): No need to refer to MB_CUR_MAX here.
/* The dfa structure. It is completely opaque. */
struct dfa;
+/* Needed when Gnulib is not used. */
+#ifndef _GL_ATTRIBUTE_MALLOC
+# define _GL_ATTRIBUTE_MALLOC
+#endif
+
/* Entry points. */
/* Allocate a struct dfa. The struct dfa is completely opaque.