summaryrefslogtreecommitdiff
path: root/src/gmalloc.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-11-13 12:15:25 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2016-11-13 12:18:33 -0800
commit9b3a853ab2430503bb1e5bae57fc35e2cd555e1a (patch)
treecd048123f5d430057c2c1715a43219c1049fdd59 /src/gmalloc.c
parenta611d7d7b436fb40a32227995edd5fcad42d0109 (diff)
downloademacs-9b3a853ab2430503bb1e5bae57fc35e2cd555e1a.tar.gz
Port --enable-gcc-warnings to Ubuntu 16.10
* src/gmalloc.c: Include <stdlib.h>, so it declares hybrid_aligned_alloc (the definiens of the aligned_alloc macro), so that GCC doesn't complain that hybrid_aligned_alloc is defined without being declared.
Diffstat (limited to 'src/gmalloc.c')
-rw-r--r--src/gmalloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gmalloc.c b/src/gmalloc.c
index 6ca35ec5f15..3f7bbda84ab 100644
--- a/src/gmalloc.c
+++ b/src/gmalloc.c
@@ -26,6 +26,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
#endif
#include <stddef.h>
+#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <stdint.h>