summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-14 16:46:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-14 16:46:06 +0000
commitf9a8317dd3b201c71dfb9d7d232868d8cbe40444 (patch)
tree33569ceb00ae386f0a57a890c84ff8a948ea0e13 /perl-install/c
parentdeae8a479186c2be24183418b23d29e8291710e4 (diff)
downloaddrakx-backup-do-not-use-f9a8317dd3b201c71dfb9d7d232868d8cbe40444.tar
drakx-backup-do-not-use-f9a8317dd3b201c71dfb9d7d232868d8cbe40444.tar.gz
drakx-backup-do-not-use-f9a8317dd3b201c71dfb9d7d232868d8cbe40444.tar.bz2
drakx-backup-do-not-use-f9a8317dd3b201c71dfb9d7d232868d8cbe40444.tar.xz
drakx-backup-do-not-use-f9a8317dd3b201c71dfb9d7d232868d8cbe40444.zip
#include iconv.h is needed even when C_RPM is undefined
Diffstat (limited to 'perl-install/c')
-rw-r--r--perl-install/c/stuff.xs.pm11
1 files changed, 4 insertions, 7 deletions
diff --git a/perl-install/c/stuff.xs.pm b/perl-install/c/stuff.xs.pm
index 5710e84e2..267ac880a 100644
--- a/perl-install/c/stuff.xs.pm
+++ b/perl-install/c/stuff.xs.pm
@@ -41,6 +41,10 @@ print '
#include <X11/Xlib.h>
#include <X11/extensions/xf86misc.h>
+#include <langinfo.h>
+#include <string.h>
+#include <iconv.h>
+
#include <libintl.h>
#include <term.h>
#undef max_colors
@@ -60,13 +64,6 @@ char *pcmcia_probe(void);
';
$ENV{C_RPM} and print '
-#include <langinfo.h>
-#include <string.h>
-#include <iconv.h>
-
-#undef Fflush
-#undef Mkdir
-#undef Stat
#include <rpm/rpmlib.h>
#include <rpm/rpmio.h>