Contents of /trunk/hal/patches/hal-0.5.10-fixed-missing-includes-partly-for-gcc-4.3.patch
Parent Directory | Revision Log
Revision 597 -
(show annotations)
(download)
Mon May 19 19:05:19 2008 UTC (16 years, 4 months ago) by niro
File size: 1262 byte(s)
Mon May 19 19:05:19 2008 UTC (16 years, 4 months ago) by niro
File size: 1262 byte(s)
-gentoo patches
1 | From e4bb9e815b0a9eaa7d4cf4ad856726f574784f6c Mon Sep 17 00:00:00 2001 |
2 | From: Danny Kukawka <danny.kukawka@web.de> |
3 | Date: Tue, 30 Oct 2007 19:12:32 +0100 |
4 | Subject: [PATCH] fixed missing includes partly for gcc 4.3 |
5 | |
6 | Fixed compiler warning caused by missing includes in hal-disable-polling.c. |
7 | Fixed also missing include of string.h for gcc 4.3. |
8 | --- |
9 | hald/linux/addons/addon-dell-backlight.cpp | 1 + |
10 | tools/hal-disable-polling.c | 2 ++ |
11 | 2 files changed, 3 insertions(+), 0 deletions(-) |
12 | |
13 | diff --git a/hald/linux/addons/addon-dell-backlight.cpp b/hald/linux/addons/addon-dell-backlight.cpp |
14 | index d30a80e..42c9836 100644 |
15 | --- a/hald/linux/addons/addon-dell-backlight.cpp |
16 | +++ b/hald/linux/addons/addon-dell-backlight.cpp |
17 | @@ -24,6 +24,7 @@ |
18 | **************************************************************************/ |
19 | |
20 | #include <config.h> |
21 | +#include <string.h> |
22 | |
23 | #include <glib/gmain.h> |
24 | #include <dbus/dbus-glib.h> |
25 | diff --git a/tools/hal-disable-polling.c b/tools/hal-disable-polling.c |
26 | index b47737d..90afc4e 100644 |
27 | --- a/tools/hal-disable-polling.c |
28 | +++ b/tools/hal-disable-polling.c |
29 | @@ -29,6 +29,8 @@ |
30 | #endif |
31 | |
32 | #include <stdio.h> |
33 | +#include <limits.h> |
34 | +#include <stdlib.h> |
35 | #include <string.h> |
36 | #include <unistd.h> |
37 | #include <getopt.h> |
38 | -- |
39 | 1.5.3.7 |
40 |