[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 9b3a853: Port --enable-gcc-warnings to Ubuntu 16.10
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master 9b3a853: Port --enable-gcc-warnings to Ubuntu 16.10 |
Date: |
Sun, 13 Nov 2016 20:18:36 +0000 (UTC) |
branch: master
commit 9b3a853ab2430503bb1e5bae57fc35e2cd555e1a
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
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.
---
src/gmalloc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gmalloc.c b/src/gmalloc.c
index 6ca35ec..3f7bbda 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>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 9b3a853: Port --enable-gcc-warnings to Ubuntu 16.10,
Paul Eggert <=