summaryrefslogtreecommitdiff
path: root/build/rpmbuild.h
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-10-29 11:45:20 +0100
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-10-29 11:45:20 +0100
commit6713c1e8078facbdc97a3e0073fa39a79dafa841 (patch)
tree6bde67572cca2778df839d0d8cb47b6aa0ebc4c6 /build/rpmbuild.h
parent3d74c511ff497ce11ec22d0b1a5296eac5733f58 (diff)
downloadrpm-6713c1e8078facbdc97a3e0073fa39a79dafa841.tar.gz
rpm-6713c1e8078facbdc97a3e0073fa39a79dafa841.tar.bz2
rpm-6713c1e8078facbdc97a3e0073fa39a79dafa841.zip
Don't include <ctype.h>.
Include "rpmio.h".
Diffstat (limited to 'build/rpmbuild.h')
-rw-r--r--build/rpmbuild.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/rpmbuild.h b/build/rpmbuild.h
index e6dbcd645..adaf11d4a 100644
--- a/build/rpmbuild.h
+++ b/build/rpmbuild.h
@@ -14,6 +14,8 @@
/* but this will be needed */
#include "rpmspec.h"
+#include "rpmio.h" /* for xisspace */
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -37,8 +39,6 @@ typedef enum rpmBuildFlags_e {
RPMBUILD_RMSPEC = (1 << 11) /*!< Remove spec file. */
} rpmBuildFlags;
-#include <ctype.h>
-
#define SKIPSPACE(s) { while (*(s) && xisspace(*(s))) (s)++; }
#define SKIPNONSPACE(s) { while (*(s) && !xisspace(*(s))) (s)++; }