* lib/gl_list.hh: Include <stdlib.h>.
* lib/gl_map.hh: Likewise.
* lib/gl_omap.hh: Likewise.
* lib/gl_set.hh: Likewise.
* lib/gl_oset.hh: Likewise.
+2020-12-29 Bruno Haible <bruno@clisp.org>
+
+ list-c++, [o]map-c++, [o]set-c++: Fix conflict with 'free-posix' module.
+ * lib/gl_list.hh: Include <stdlib.h>.
+ * lib/gl_map.hh: Likewise.
+ * lib/gl_omap.hh: Likewise.
+ * lib/gl_set.hh: Likewise.
+ * lib/gl_oset.hh: Likewise.
+
2020-12-29 Paul Eggert <eggert@cs.ucla.edu>
canonicalize: fix ptrdiff_t overflow bug
#include "gl_sublist.h"
#include "gl_xsublist.h"
+#include <stdlib.h> /* because Gnulib's <stdlib.h> may '#define free ...' */
+
/* gl_List is a C++ wrapper around the gl_list data type.
Its element type is 'ELTYPE *'.
#include "gl_map.h"
#include "gl_xmap.h"
+#include <stdlib.h> /* because Gnulib's <stdlib.h> may '#define free ...' */
+
/* gl_Map is a C++ wrapper around the gl_map data type.
Its key type is 'KEYTYPE *'. Its value type is 'VALUETYPE *'.
#include "gl_omap.h"
#include "gl_xomap.h"
+#include <stdlib.h> /* because Gnulib's <stdlib.h> may '#define free ...' */
+
/* gl_OMap is a C++ wrapper around the gl_omap data type.
Its key type is 'KEYTYPE *'. Its value type is 'VALUETYPE *'.
#include "gl_oset.h"
#include "gl_xoset.h"
+#include <stdlib.h> /* because Gnulib's <stdlib.h> may '#define free ...' */
+
/* gl_OSet is a C++ wrapper around the gl_oset data type.
Its element type is 'ELTYPE *'.
#include "gl_set.h"
#include "gl_xset.h"
+#include <stdlib.h> /* because Gnulib's <stdlib.h> may '#define free ...' */
+
/* gl_Set is a C++ wrapper around the gl_set data type.
Its element type is 'ELTYPE *'.