Commit ea7436fb authored by osdl.org!shemminger's avatar osdl.org!shemminger

more build problems on older systems.

(Logical change 1.28)
parent d1fe9d22
......@@ -17,13 +17,15 @@
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <linux/netdevice.h>
#include <linux/if_arp.h>
#include <linux/sockios.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string.h>
#include <linux/netdevice.h>
#include <linux/if_arp.h>
#include <linux/sockios.h>
#include "rt_names.h"
#include "utils.h"
......
......@@ -17,20 +17,22 @@
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <linux/netdevice.h>
#include <linux/if_arp.h>
#include <linux/sockios.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string.h>
#include <linux/netdevice.h>
#include <linux/if_arp.h>
#include <linux/sockios.h>
#include "utils.h"
#include "rt_names.h"
#define __PF(f,n) { ETH_P_##f, #n },
static struct {
int id;
char *name;
const char *name;
} llproto_names[] = {
__PF(LOOP,loop)
__PF(PUP,pup)
......@@ -97,7 +99,7 @@ __PF(ECONET,econet)
#undef __PF
char * ll_proto_n2a(unsigned short id, char *buf, int len)
const char * ll_proto_n2a(unsigned short id, char *buf, int len)
{
int i;
......
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