summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/c')
-rw-r--r--perl-install/c/stuff.xs.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/c/stuff.xs.pm b/perl-install/c/stuff.xs.pm
index ecffd9c10..525403f24 100644
--- a/perl-install/c/stuff.xs.pm
+++ b/perl-install/c/stuff.xs.pm
@@ -3,6 +3,9 @@ print '
#include "perl.h"
#include "XSUB.h"
+/* workaround for glibc and kernel header files not in sync */
+#define dev_t dev_t
+
#include <ctype.h>
#include <unistd.h>
#include <syslog.h>