[53236] trunk/base/src/pextlib1.0/filemap.c

toby at macports.org toby at macports.org
Wed Jul 1 12:52:35 PDT 2009


Revision: 53236
          http://trac.macports.org/changeset/53236
Author:   toby at macports.org
Date:     2009-07-01 12:52:35 -0700 (Wed, 01 Jul 2009)
Log Message:
-----------
remove a number of unnecessary includes

Modified Paths:
--------------
    trunk/base/src/pextlib1.0/filemap.c

Modified: trunk/base/src/pextlib1.0/filemap.c
===================================================================
--- trunk/base/src/pextlib1.0/filemap.c	2009-07-01 19:48:32 UTC (rev 53235)
+++ trunk/base/src/pextlib1.0/filemap.c	2009-07-01 19:52:35 UTC (rev 53236)
@@ -34,50 +34,11 @@
 #include <config.h>
 #endif
 
-#include <ctype.h>
+#include <sys/stat.h>
 #include <errno.h>
-#include <grp.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#if HAVE_STRINGS_H
-#include <strings.h>
-#endif
-
-#if HAVE_DIRENT_H
-#include <dirent.h>
-#endif
-
-#if HAVE_LIMITS_H
-#include <limits.h>
-#endif
-
-#if HAVE_PATHS_H
-#include <paths.h>
-#endif
-
-#include <pwd.h>
-
-#if HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
-#if HAVE_FCNTL_H
 #include <fcntl.h>
-#endif
-
-#if HAVE_SYS_STAT_H
-#include <sys/stat.h>
-#endif
-
-#if HAVE_SYS_WAIT_H
-#include <sys/wait.h>
-#endif
-
-#if HAVE_UNISTD_H
+#include <limits.h>
 #include <unistd.h>
-#endif
 
 #include <tcl.h>
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090701/a8be08e5/attachment.html>


More information about the macports-changes mailing list