projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a611d7d
)
Port --enable-gcc-warnings to Ubuntu 16.10
author
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 13 Nov 2016 20:15:25 +0000
(12:15 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 13 Nov 2016 20:18:33 +0000
(12:18 -0800)
* 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.
src/gmalloc.c
patch
|
blob
|
history
diff --git
a/src/gmalloc.c
b/src/gmalloc.c
index 6ca35ec5f1513f75f517d469f33351f71f7c3b92..3f7bbda84ab9ef0e3caa6265ddef5b15ed875f17 100644
(file)
--- 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>