summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-11-15 14:35:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-11-15 14:35:32 +0000
commit52a6cef1ee28a3ca772b2a1fe952375d86adaab3 (patch)
tree497f8363cb006397a9989a578767a34da8973803 /perl-install/c
parent7bc5148b2cbc9fc230b2b06ea8be8b660f6a1b88 (diff)
downloaddrakx-52a6cef1ee28a3ca772b2a1fe952375d86adaab3.tar
drakx-52a6cef1ee28a3ca772b2a1fe952375d86adaab3.tar.gz
drakx-52a6cef1ee28a3ca772b2a1fe952375d86adaab3.tar.bz2
drakx-52a6cef1ee28a3ca772b2a1fe952375d86adaab3.tar.xz
drakx-52a6cef1ee28a3ca772b2a1fe952375d86adaab3.zip
workaround for kernel-headers not in sync with glibc (dev_t)
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>