Fix includes for kernel 2.2.x complilation.
This commit is contained in:
parent
5aa455be3f
commit
4828d6cb6d
@ -11,10 +11,18 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
|
||||||
#include <linux/sockios.h>
|
#include <linux/sockios.h>
|
||||||
#include <linux/if.h>
|
#include <linux/if.h>
|
||||||
|
|
||||||
#include "/usr/src/linux/drivers/net/eql.h"
|
#include "/usr/src/linux/include/linux/if_eql.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void check_running(char *device_name);
|
void check_running(char *device_name);
|
||||||
|
|
||||||
@ -103,6 +111,7 @@ check_running(char *name)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Local Variables:
|
* Local Variables:
|
||||||
* compile-command: "gcc -Wall -Wstrict-prototypes -o eql_enslave eql_enslave.c"
|
* compile-command: "gcc -Wall -Wstrict-prototypes -o eql_enslave eql_enslave.c"
|
||||||
|
Loading…
Reference in New Issue
Block a user