111 lines
4.3 KiB
Diff
111 lines
4.3 KiB
Diff
diff -Naur linux-atm-2.5.0.org/src/arpd/arp.c linux-atm-2.5.0/src/arpd/arp.c
|
|
--- linux-atm-2.5.0.org/src/arpd/arp.c 2007-03-23 11:53:22.313563000 +0100
|
|
+++ linux-atm-2.5.0/src/arpd/arp.c 2007-03-23 12:01:36.903688000 +0100
|
|
@@ -16,6 +16,7 @@
|
|
#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/types.h>
|
|
#include <linux/if_arp.h>
|
|
#include <linux/if_ether.h>
|
|
#include <atm.h>
|
|
diff -Naur linux-atm-2.5.0.org/src/arpd/atmarp.c linux-atm-2.5.0/src/arpd/atmarp.c
|
|
--- linux-atm-2.5.0.org/src/arpd/atmarp.c 2007-03-23 11:53:22.387482000 +0100
|
|
+++ linux-atm-2.5.0/src/arpd/atmarp.c 2007-03-23 11:55:58.542174000 +0100
|
|
@@ -19,6 +19,7 @@
|
|
#include <net/if_arp.h>
|
|
|
|
#include <stdint.h>
|
|
+#include <linux/types.h>
|
|
#include <linux/atmarp.h>
|
|
#include <linux/atmclip.h>
|
|
|
|
diff -Naur linux-atm-2.5.0.org/src/arpd/io.c linux-atm-2.5.0/src/arpd/io.c
|
|
--- linux-atm-2.5.0.org/src/arpd/io.c 2007-03-23 11:53:22.303568000 +0100
|
|
+++ linux-atm-2.5.0/src/arpd/io.c 2007-03-23 12:18:22.325264000 +0100
|
|
@@ -19,6 +19,7 @@
|
|
#include <net/if.h>
|
|
#include <netinet/in.h>
|
|
#include <atm.h>
|
|
+#include <linux/types.h>
|
|
#include <linux/atmclip.h> /* for CLIP_DEFAULT_IDLETIMER */
|
|
#include <linux/atmarp.h>
|
|
#define _LINUX_NETDEVICE_H /* glibc2 */
|
|
diff -Naur linux-atm-2.5.0.org/src/arpd/itf.c linux-atm-2.5.0/src/arpd/itf.c
|
|
--- linux-atm-2.5.0.org/src/arpd/itf.c 2007-03-23 11:53:22.344524000 +0100
|
|
+++ linux-atm-2.5.0/src/arpd/itf.c 2007-03-23 12:20:21.795673000 +0100
|
|
@@ -10,6 +10,7 @@
|
|
#include <stdint.h>
|
|
#include <string.h>
|
|
#include <sys/types.h>
|
|
+#include <linux/types.h>
|
|
#include <linux/atmclip.h>
|
|
#include <sys/socket.h>
|
|
#define _LINUX_NETDEVICE_H /* glibc2 */
|
|
diff -Naur linux-atm-2.5.0.org/src/mpoad/io.c linux-atm-2.5.0/src/mpoad/io.c
|
|
--- linux-atm-2.5.0.org/src/mpoad/io.c 2007-03-23 11:53:24.383484000 +0100
|
|
+++ linux-atm-2.5.0/src/mpoad/io.c 2007-03-23 12:23:01.121187000 +0100
|
|
@@ -19,6 +19,7 @@
|
|
_syscall3(int,poll,struct pollfd *,ufds,unsigned int,nfds,int,timeout);
|
|
#endif
|
|
#include <atm.h>
|
|
+#include <linux/types.h>
|
|
#include <linux/atmioc.h>
|
|
#include <linux/atmmpc.h>
|
|
#include <sys/types.h>
|
|
diff -Naur linux-atm-2.5.0.org/src/mpoad/k_interf.c linux-atm-2.5.0/src/mpoad/k_interf.c
|
|
--- linux-atm-2.5.0.org/src/mpoad/k_interf.c 2007-03-23 11:53:24.398469000 +0100
|
|
+++ linux-atm-2.5.0/src/mpoad/k_interf.c 2007-03-23 12:25:43.438710000 +0100
|
|
@@ -10,6 +10,7 @@
|
|
#include <sys/param.h> /* for OPEN_MAX */
|
|
#include <stdint.h>
|
|
#include <netinet/in.h> /* for ntohl() */
|
|
+#include <linux/types.h>
|
|
#include <linux/atmmpc.h>
|
|
#include <atm.h>
|
|
#include "k_interf.h"
|
|
diff -Naur linux-atm-2.5.0.org/src/mpoad/lecs.c linux-atm-2.5.0/src/mpoad/lecs.c
|
|
--- linux-atm-2.5.0.org/src/mpoad/lecs.c 2007-03-23 11:53:24.409458000 +0100
|
|
+++ linux-atm-2.5.0/src/mpoad/lecs.c 2007-03-23 12:36:28.007491000 +0100
|
|
@@ -11,6 +11,7 @@
|
|
#include <errno.h>
|
|
#include <atm.h>
|
|
#include <atmsap.h>
|
|
+#include <linux/types.h>
|
|
#include <linux/atmmpc.h> /* for MPOA Device type TLV */
|
|
#include "lecs.h"
|
|
#include "k_interf.h"
|
|
diff -Naur linux-atm-2.5.0.org/src/mpoad/main.c linux-atm-2.5.0/src/mpoad/main.c
|
|
--- linux-atm-2.5.0.org/src/mpoad/main.c 2007-03-23 11:53:24.416451000 +0100
|
|
+++ linux-atm-2.5.0/src/mpoad/main.c 2007-03-23 12:28:05.961046000 +0100
|
|
@@ -9,6 +9,7 @@
|
|
#include <time.h>
|
|
#include <sys/ioctl.h>
|
|
#include <atm.h>
|
|
+#include <linux/types.h>
|
|
#include <linux/atmdev.h>
|
|
#include <linux/atmmpc.h>
|
|
#include <sys/socket.h>
|
|
diff -Naur linux-atm-2.5.0.org/src/mpoad/p_factory.c linux-atm-2.5.0/src/mpoad/p_factory.c
|
|
--- linux-atm-2.5.0.org/src/mpoad/p_factory.c 2007-03-23 11:53:24.455415000 +0100
|
|
+++ linux-atm-2.5.0/src/mpoad/p_factory.c 2007-03-23 12:29:56.340551000 +0100
|
|
@@ -5,6 +5,7 @@
|
|
#include <sys/types.h>
|
|
#include <stdint.h>
|
|
#include <netinet/in.h>
|
|
+#include <linux/types.h>
|
|
#include <linux/atmmpc.h>
|
|
#include <sys/socket.h>
|
|
#include <unistd.h>
|
|
diff -Naur linux-atm-2.5.0.org/src/mpoad/p_recogn.c linux-atm-2.5.0/src/mpoad/p_recogn.c
|
|
--- linux-atm-2.5.0.org/src/mpoad/p_recogn.c 2007-03-23 11:53:24.459410000 +0100
|
|
+++ linux-atm-2.5.0/src/mpoad/p_recogn.c 2007-03-23 12:32:09.135623000 +0100
|
|
@@ -7,6 +7,7 @@
|
|
#include <stdlib.h>
|
|
#include <sys/time.h>
|
|
#include <atm.h>
|
|
+#include <linux/types.h>
|
|
#include <linux/atmmpc.h>
|
|
#include <netinet/in.h>
|
|
#include <limits.h> /* For UINT_MAX */
|