* lread.c, process.c: Do not include <inttypes.h>; lisp.h does it now.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 29 Apr 2011 07:55:25 +0000 (00:55 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 29 Apr 2011 07:55:25 +0000 (00:55 -0700)
src/ChangeLog
src/lread.c
src/process.c

index 05f332b..a1e048b 100644 (file)
@@ -1,5 +1,7 @@
 2011-04-29  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * lread.c, process.c: Do not include <inttypes.h>; lisp.h does it now.
+
        Prefer intptr_t/uintptr_t for integers the same widths as pointers.
        This removes an assumption that EMACS_INT and long are the same
        width as pointers.  The assumption is true for Emacs porting targets
index 2c8c3ac..c7c91f8 100644 (file)
@@ -19,7 +19,6 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
 #include <config.h>
-#include <inttypes.h>
 #include <stdio.h>
 #include <sys/types.h>
 #include <sys/stat.h>
index 1544522..59d1b9e 100644 (file)
@@ -28,9 +28,6 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #include <sys/file.h>
 #include <sys/stat.h>
 #include <setjmp.h>
-#ifdef HAVE_INTTYPES_H
-#include <inttypes.h>
-#endif
 
 #include <unistd.h>
 #include <fcntl.h>
@@ -4539,7 +4536,7 @@ wait_reading_process_output (int time_limit, int microsecs, int read_kbd,
              some data in the TCP buffers so that select works, but
              with custom pull/push functions we need to check if some
              data is available in the buffers manually.  */
-          if (nfds == 0 && 
+          if (nfds == 0 &&
               wait_proc && wait_proc->gnutls_p /* Check for valid process.  */
               /* Do we have pending data?  */
               && gnutls_record_check_pending (wait_proc->gnutls_state) > 0)