aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/unexmacosx.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/unexmacosx.c b/src/unexmacosx.c
index bdacc8b540b..2ba67df8bc9 100644
--- a/src/unexmacosx.c
+++ b/src/unexmacosx.c
@@ -85,6 +85,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
85 be changed accordingly. 85 be changed accordingly.
86*/ 86*/
87 87
88/* Make symbols like LLONG_WIDTH visible when the Gnulib <limits.h>
89 is included before <config.h>. */
90#ifndef _GNU_SOURCE
91#define _GNU_SOURCE 1
92#endif
93
88/* config.h #define:s malloc/realloc/free and then includes stdlib.h. 94/* config.h #define:s malloc/realloc/free and then includes stdlib.h.
89 We want the undefined versions, but if config.h includes stdlib.h 95 We want the undefined versions, but if config.h includes stdlib.h
90 with the #define:s in place, the prototypes will be wrong and we get 96 with the #define:s in place, the prototypes will be wrong and we get