matchbox: fix mb-applet-startup-monitor compilation (TRUE/FALSE issue)

This commit is contained in:
Peter Korsgaard 2008-11-04 22:28:58 +00:00
parent ab1c8b3943
commit 2cb9654f05
2 changed files with 22 additions and 0 deletions

View File

@ -126,6 +126,7 @@ $(MATCHBOX_WM_DIR)/.unpacked: $(DL_DIR)/$(MATCHBOX_WM_SOURCE)
$(MATCHBOX_SM_DIR)/.unpacked: $(DL_DIR)/$(MATCHBOX_SM_SOURCE)
$(MATCHBOX_CAT) $(DL_DIR)/$(MATCHBOX_SM_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(MATCHBOX_SM_DIR) package/matchbox/ mb-applet-startup-monitor\*.patch
touch $(MATCHBOX_SM_DIR)/.unpacked
$(MATCHBOX_CN_DIR)/.unpacked: $(DL_DIR)/$(MATCHBOX_CN_SOURCE)

View File

@ -0,0 +1,21 @@
mbmonitor uses TRUE / FALSE without defining them
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
mbmonitor.c | 3 +++
1 file changed, 3 insertions(+)
Index: mb-applet-startup-monitor-0.1/mbmonitor.c
===================================================================
--- mb-applet-startup-monitor-0.1.orig/mbmonitor.c
+++ mb-applet-startup-monitor-0.1/mbmonitor.c
@@ -43,6 +43,9 @@
#define POLLTIME 10
#define HOURGLASS_N_FRAMES 8
+#define FALSE 0
+#define TRUE 1
+
typedef struct LaunchList LaunchList;
struct LaunchList