Fix: Add a couple of missing stdlib.h includes required for exit()

https://github.com/knopwob/dunst/issues/267
This commit is contained in:
Ilya Tumaykin 2016-07-29 02:14:35 +01:00 committed by Eizen
parent be72e22c38
commit d2c63f1f00
2 changed files with 2 additions and 1 deletions

1
menu.c
View File

@ -1,6 +1,7 @@
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */ /* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#define _GNU_SOURCE #define _GNU_SOURCE
#include <stdlib.h>
#include <stdbool.h> #include <stdbool.h>
#include <regex.h> #include <regex.h>
#include <stdio.h> #include <stdio.h>

View File

@ -1,7 +1,7 @@
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */ /* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#define _GNU_SOURCE #define _GNU_SOURCE
#include <stdlib.h>
#include <time.h> #include <time.h>
#include <glib.h> #include <glib.h>
#include <errno.h> #include <errno.h>