diff options
author | Bruno Haible <bruno@clisp.org> | 2020-12-30 02:12:33 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-12-30 02:13:42 +0100 |
commit | 7f87a14c29ab184fcd1db5f85823483fb2b75c78 (patch) | |
tree | 68e1c2d21b41dee70396453dcee6cb24d3cbf3e8 /lib/gl_list.hh | |
parent | 6a5be910cc575aa9f48bf0a31280f8a72e533063 (diff) | |
download | gnulib-7f87a14c29ab184fcd1db5f85823483fb2b75c78.tar.gz |
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.
Diffstat (limited to 'lib/gl_list.hh')
-rw-r--r-- | lib/gl_list.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gl_list.hh b/lib/gl_list.hh index 8b0ccad1ba..85e06b9581 100644 --- a/lib/gl_list.hh +++ b/lib/gl_list.hh @@ -23,6 +23,8 @@ #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 *'. |