diff lib-src/emacsserver.c @ 26083:134b57acef68

Add support for large files. Merge glibc 2.1.2. * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c, movemail.c, pop.c: Do not include <stdlib.h>, as <config.h> does this now. * b2m.c, emacsserver.c, etags.c, profile.c: Include <config.h> before any system include files. * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c, test-distrib.c: (read, write, open, close): Do not undef. * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix: (const): Do not define if HAVE_CONFIG_H; that's config.h's job. * getopt.h: Adopt glibc 2.1.2.
author Paul Eggert <eggert@twinsun.com>
date Tue, 19 Oct 1999 07:17:20 +0000
parents 95f7147cb572
children a3e7758ab661
line wrap: on
line diff
--- a/lib-src/emacsserver.c	Tue Oct 19 07:16:11 1999 +0000
+++ b/lib-src/emacsserver.c	Tue Oct 19 07:17:20 1999 +0000
@@ -1,5 +1,5 @@
 /* Communication subprocess for GNU Emacs acting as server.
-   Copyright (C) 1986, 1987, 1992, 1994 Free Software Foundation, Inc.
+   Copyright (C) 1986, 1987, 1992, 1994, 1999 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -26,12 +26,8 @@
    up to the Emacs which then executes them.  */
 
 #define NO_SHORTNAMES
+#include <../src/config.h>
 #include <signal.h>
-#include <../src/config.h>
-#undef read
-#undef write
-#undef open
-#undef close
 #undef signal
 
 #if !defined (HAVE_SOCKETS) && !defined (HAVE_SYSVIPC)
@@ -65,10 +61,6 @@
 #include <unistd.h>
 #endif
 
-#ifdef STDC_HEADERS
-#include <stdlib.h>
-#endif
-
 #ifndef errno
 extern int errno;
 #endif