build fix on older linux
authorMichael Meffie <mmeffie@sinenomine.net>
Thu, 8 Jul 2010 18:45:22 +0000 (14:45 -0400)
committerDerrick Brashear <shadow@dementia.org>
Fri, 9 Jul 2010 03:03:26 +0000 (20:03 -0700)
The commit d0abe56aa47d4561ba57527d53a2b0db2ea613c2 added
a duplicate inclusion of freezer.h. Older versions
of linux (circa 2.6.20) are missing include guards
on freezer.h.

Change-Id: I12c47cded7d06a3514a520b554bbcbd3328f0d2b
Reviewed-on: http://gerrit.openafs.org/2369
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>

src/rx/rx_kcommon.h

index ec2c289..bad5ad0 100644 (file)
@@ -114,9 +114,6 @@ typedef unsigned short etap_event_t;
 #endif
 #ifdef AFS_LINUX22_ENV
 #include "h/sched.h"
-#if defined(HAVE_LINUX_FREEZER_H)
-#include "h/freezer.h"
-#endif
 #include "h/netdevice.h"
 #include "linux/if.h"
 #else