Commit 60ce3fec authored by Chas Williams's avatar Chas Williams Committed by David S. Miller

[ATM]: prevent userspace compilation errors with glibc-kernheaders

parent 5b5f13cd
......@@ -200,9 +200,7 @@ struct atm_cirange {
"SESSION", "HASSAP", "BOUND", "CLOSE"
#ifndef __KERNEL__
#undef __AAL_STAT_ITEMS
#else
#ifdef __KERNEL__
#include <linux/wait.h> /* wait_queue_head_t */
#include <linux/time.h> /* struct timeval */
......
......@@ -56,9 +56,7 @@ struct sonet_stats {
#define SONET_FRSENSE_SIZE 6 /* C1[3],H1[3] (0xff for unknown) */
#ifndef __KERNEL__
#undef __SONET_ITEMS
#else
#ifdef __KERNEL__
#include <asm/atomic.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment