Move <ctype.h> include out of system.h to the places that need it
This commit is contained in:
parent
dd58384ede
commit
8fe27d49e1
1
build.c
1
build.c
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include <libgen.h>
|
||||
#include <errno.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include <rpm/rpmcli.h>
|
||||
#include <rpm/rpmtag.h>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
*/
|
||||
#include "system.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <rpm/rpmbuild.h>
|
||||
#include "debug.h"
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
#include "system.h"
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
#include <rpm/header.h>
|
||||
#include <rpm/rpmbuild.h>
|
||||
#include <rpm/rpmlog.h>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include "system.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <rpm/rpmtypes.h>
|
||||
#include <rpm/rpmbuild.h>
|
||||
#include <rpm/rpmlog.h>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include <rpm/rpmcli.h>
|
||||
#include <rpm/header.h>
|
||||
|
|
|
@ -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>
|
||||
|
|
2
system.h
2
system.h
|
@ -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
|
||||
|
|
|
@ -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---------*/
|
||||
|
|
Loading…
Reference in New Issue