From b08f1d00e0391c9b134bc2e6851de1770a764cfe Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 16 Dec 2009 16:28:11 +0100 Subject: [PATCH] hal: add missing includes Fix build (with modern kernel headers) - hald/linux/classdev.c needs sys/socket.h for struct sockaddr - hald/linux/addons/addon-storage.c needs limits.h for INT_MAX Signed-off-by: Peter Korsgaard --- CHANGES | 2 +- package/hal/hal-include-fix.patch | 35 +++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 package/hal/hal-include-fix.patch diff --git a/CHANGES b/CHANGES index 4851a9f8f3..f8fd9d0d32 100644 --- a/CHANGES +++ b/CHANGES @@ -3,7 +3,7 @@ New packages: libcdaudio, libdvdnav, libdvdread, hostapd, tcpreplay Updated/fixed packages: autoconf, bind, binutils, busybox, - directfb, gst-plugins-bad, iw, libfuse, libpcap, lighttpd, + directfb, gst-plugins-bad, hal, iw, libfuse, libpcap, lighttpd, mesa, mtd-utils, pcre, qt, sshfs, tremor, usbutils Issues resolved (http://bugs.uclibc.org): diff --git a/package/hal/hal-include-fix.patch b/package/hal/hal-include-fix.patch new file mode 100644 index 0000000000..af2a7fe59a --- /dev/null +++ b/package/hal/hal-include-fix.patch @@ -0,0 +1,35 @@ +[PATCH] hal: add missing includes + +- hald/linux/classdev.c needs sys/socket.h for struct sockaddr +- hald/linux/addons/addon-storage.c needs limits.h for INT_MAX + +Signed-off-by: Peter Korsgaard +--- + hald/linux/addons/addon-storage.c | 1 + + hald/linux/classdev.c | 1 + + 2 files changed, 2 insertions(+) + +Index: hal-0.5.8/hald/linux/addons/addon-storage.c +=================================================================== +--- hal-0.5.8.orig/hald/linux/addons/addon-storage.c ++++ hal-0.5.8/hald/linux/addons/addon-storage.c +@@ -29,6 +29,7 @@ + + #include + #include ++#include + #include + #include + #include +Index: hal-0.5.8/hald/linux/classdev.c +=================================================================== +--- hal-0.5.8.orig/hald/linux/classdev.c ++++ hal-0.5.8/hald/linux/classdev.c +@@ -31,6 +31,7 @@ + + #include + #include ++#include + #include + #include /* for ARPHRD_... */ + #include -- 2.30.2