1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-18 18:05:07 +00:00

* unexmacosx.c: Include config.h before unistd.h.

Fixes: debbugs:7859
This commit is contained in:
Jan Djärv 2011-01-19 23:13:54 +01:00
parent fb9d0f5afc
commit 8beb828a0b
2 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,7 @@
2011-01-19 Jan Djärv <jan.h.d@swipnet.se>
* unexmacosx.c: Include config.h before unistd.h (Bug#7859).
* nsterm.m (ns_input_file, ns_input_font, ns_input_fontsize)
(ns_input_line, ns_input_color, ns_input_text, ns_working_text)
(ns_input_spi_name, ns_input_spi_arg)

View File

@ -91,6 +91,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <fcntl.h>
#include <stdarg.h>
#include <sys/types.h>
#include <config.h>
#undef malloc
#undef realloc
#undef free
#include <unistd.h>
#include <mach/mach.h>
#include <mach-o/loader.h>
@ -98,10 +102,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#if defined (__ppc__)
#include <mach-o/ppc/reloc.h>
#endif
#include <config.h>
#undef malloc
#undef realloc
#undef free
#ifdef HAVE_MALLOC_MALLOC_H
#include <malloc/malloc.h>
#else