2007-10-20 20:21:13 +03:00
|
|
|
Index: linux-atm-2.4.1/src/arpd/arp.c
|
|
|
|
===================================================================
|
|
|
|
--- linux-atm-2.4.1.orig/src/arpd/arp.c 2007-10-20 19:19:10.002198470 +0200
|
|
|
|
+++ linux-atm-2.4.1/src/arpd/arp.c 2007-10-20 19:19:19.138719139 +0200
|
2007-09-16 00:01:43 +03:00
|
|
|
@@ -15,7 +15,6 @@
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/socket.h> /* for linux/if_arp.h */
|
|
|
|
#include <netinet/in.h> /* for ntohs, etc. */
|
|
|
|
-#define _LINUX_NETDEVICE_H /* very crude hack for glibc2 */
|
|
|
|
#include <linux/if_arp.h>
|
|
|
|
#include <linux/if_ether.h>
|
|
|
|
#include <atm.h>
|
2007-10-20 20:21:13 +03:00
|
|
|
Index: linux-atm-2.4.1/src/arpd/io.c
|
|
|
|
===================================================================
|
|
|
|
--- linux-atm-2.4.1.orig/src/arpd/io.c 2007-10-20 19:19:09.994198016 +0200
|
|
|
|
+++ linux-atm-2.4.1/src/arpd/io.c 2007-10-20 19:19:19.154720039 +0200
|
|
|
|
@@ -16,12 +16,11 @@
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/socket.h>
|
|
|
|
#include <sys/ioctl.h>
|
|
|
|
-#include <net/if.h>
|
|
|
|
+#include <linux/if.h>
|
|
|
|
#include <netinet/in.h>
|
2007-09-16 00:01:43 +03:00
|
|
|
#include <atm.h>
|
|
|
|
#include <linux/atmclip.h> /* for CLIP_DEFAULT_IDLETIMER */
|
|
|
|
#include <linux/atmarp.h>
|
|
|
|
-#define _LINUX_NETDEVICE_H /* glibc2 */
|
|
|
|
#include <linux/if_arp.h>
|
|
|
|
|
|
|
|
#include "atmd.h"
|
2007-10-20 20:21:13 +03:00
|
|
|
Index: linux-atm-2.4.1/src/arpd/itf.c
|
|
|
|
===================================================================
|
|
|
|
--- linux-atm-2.4.1.orig/src/arpd/itf.c 2007-10-20 19:19:10.010198930 +0200
|
|
|
|
+++ linux-atm-2.4.1/src/arpd/itf.c 2007-10-20 19:19:19.186721859 +0200
|
2007-09-16 00:01:43 +03:00
|
|
|
@@ -12,7 +12,6 @@
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <linux/atmclip.h>
|
|
|
|
#include <sys/socket.h>
|
|
|
|
-#define _LINUX_NETDEVICE_H /* glibc2 */
|
|
|
|
#include <linux/if_arp.h>
|
|
|
|
|
|
|
|
#include "atmd.h"
|