summaryrefslogtreecommitdiff
path: root/openbox/actions/execute.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-01-27 03:48:49 -0500
committerDana Jansens <danakj@orodu.net>2008-01-27 04:25:09 -0500
commita4d13100e67791955eef10876c6784748aff2fed (patch)
tree731ef5b6f5cd04f2ed42669447b0e246986e6120 /openbox/actions/execute.c
parent9a93350aa7bb124e39378eb0d67b7e0ca1a8a1df (diff)
use setenv/unsetenv instead of putenv, cuz they are not ugly and confusing wrt memory leaks
Diffstat (limited to 'openbox/actions/execute.c')
-rw-r--r--openbox/actions/execute.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbox/actions/execute.c b/openbox/actions/execute.c
index 9ab20d71..a857b1b8 100644
--- a/openbox/actions/execute.c
+++ b/openbox/actions/execute.c
@@ -4,6 +4,10 @@
#include "openbox/screen.h"
#include "gettext.h"
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
+
typedef struct {
gchar *cmd;
gboolean sn;