summaryrefslogtreecommitdiffstats
path: root/perl-install/c/stuff.xs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/c/stuff.xs.pm')
-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>