Move <ctype.h> include out of system.h to the places that need it

This commit is contained in:
Panu Matilainen 2010-01-05 15:33:47 +02:00
parent dd58384ede
commit 8fe27d49e1
8 changed files with 8 additions and 2 deletions

View File

@ -6,6 +6,7 @@
#include <libgen.h>
#include <errno.h>
#include <ctype.h>
#include <rpm/rpmcli.h>
#include <rpm/rpmtag.h>

View File

@ -3,6 +3,7 @@
*/
#include "system.h"
#include <ctype.h>
#include <rpm/rpmbuild.h>
#include "debug.h"

View File

@ -5,6 +5,8 @@
#include "system.h"
#include <ctype.h>
#include <rpm/header.h>
#include <rpm/rpmbuild.h>
#include <rpm/rpmlog.h>

View File

@ -5,6 +5,7 @@
#include "system.h"
#include <ctype.h>
#include <rpm/rpmtypes.h>
#include <rpm/rpmbuild.h>
#include <rpm/rpmlog.h>

View File

@ -7,6 +7,7 @@
#include <errno.h>
#include <inttypes.h>
#include <ctype.h>
#include <rpm/rpmcli.h>
#include <rpm/header.h>

View File

@ -20,6 +20,7 @@
#include <sys/wait.h>
#include <errno.h>
#include <popt.h>
#include <ctype.h>
#include <rpm/rpmfileutil.h>
#include <rpm/rpmurl.h>

View File

@ -67,8 +67,6 @@ char * stpncpy(char * dest, const char * src, size_t n);
# endif /* HAVE_NDIR_H */
#endif /* HAVE_DIRENT_H */
#include <ctype.h>
#if HAVE_LIMITS_H
#include <limits.h>
#endif

View File

@ -69,6 +69,7 @@ marc@redhat.com and ewt@redhat.com.
#include <string.h>
#include <netdb.h>
#include <rpm/rpmutil.h>
#include <ctype.h>
#include "debug.h"
/*---------typedefs---------*/