]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-linux-kdump-kernel-also-has-timer-t-sigh-20011226
authorDerrick Brashear <shadow@dementia.org>
Wed, 26 Dec 2001 20:25:13 +0000 (20:25 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 26 Dec 2001 20:25:13 +0000 (20:25 +0000)
not the cleanest way of dealing, either

src/venus/kdump.c

index 13be7361dff41e3aec8b2e90f826eb559fa4e686..abe9797f4b1b470c8521c6944d56d8750537198f 100644 (file)
@@ -261,6 +261,10 @@ typedef struct timeval {
 #else
 #define _LINUX_BYTEORDER_LITTLE_ENDIAN_H
 #endif
+/* Avoid problems with timer_t redefinition */
+#ifndef timer_t
+#define timer_t ktimer_t
+#endif
 #include <linux/version.h>
 #include <linux/fs.h>
 #include <osi_vfs.h>