diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-11-13 12:15:25 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-11-13 12:18:33 -0800 |
commit | 9b3a853ab2430503bb1e5bae57fc35e2cd555e1a (patch) | |
tree | cd048123f5d430057c2c1715a43219c1049fdd59 /src/gmalloc.c | |
parent | a611d7d7b436fb40a32227995edd5fcad42d0109 (diff) | |
download | emacs-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.c | 1 |
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> |