diff options
author | Bertrand Jacquin <beber@meleeweb.net> | 2009-05-01 16:44:55 +0200 |
---|---|---|
committer | Bertrand Jacquin <beber@meleeweb.net> | 2009-05-01 16:44:55 +0200 |
commit | 347aeb099e9c78eb74d9c905ffc233d8baadcc59 (patch) | |
tree | 28a97e012972571cfa61dd0ea3aae515d836e667 | |
parent | flx: ignore *.o and flx (diff) | |
download | flxutils-347aeb099e9c78eb74d9c905ffc233d8baadcc59.tar.xz |
flx: fix implicit declaration of function 'exit'
-rw-r--r-- | flx/arg.c | 1 | ||||
-rw-r--r-- | flx/check.c | 1 | ||||
-rw-r--r-- | flx/input.c | 2 | ||||
-rw-r--r-- | flx/output.c | 1 | ||||
-rw-r--r-- | flx/utils.c | 1 |
5 files changed, 6 insertions, 0 deletions
@@ -1,6 +1,7 @@ #include <stdio.h> #include <string.h> #include <stdarg.h> +#include <stdlib.h> #include "flx.h" #include "arg.h" diff --git a/flx/check.c b/flx/check.c index 0a425c3..9589c5e 100644 --- a/flx/check.c +++ b/flx/check.c @@ -23,6 +23,7 @@ #include <string.h> #include <stdio.h> +#include <stdlib.h> #include "flx.h" #include "check.h" diff --git a/flx/input.c b/flx/input.c index 182fa83..5e9ecbc 100644 --- a/flx/input.c +++ b/flx/input.c @@ -1,4 +1,6 @@ #include <string.h> +#include <stdlib.h> + #include "utils.h" #include "source_type.h" #include "input.h" diff --git a/flx/output.c b/flx/output.c index 7898fc8..0c4c5ad 100644 --- a/flx/output.c +++ b/flx/output.c @@ -1,4 +1,5 @@ #include <string.h> +#include <stdlib.h> #include "utils.h" #include "flx.h" #include "output.h" diff --git a/flx/utils.c b/flx/utils.c index 6b0272a..16aaad2 100644 --- a/flx/utils.c +++ b/flx/utils.c @@ -6,6 +6,7 @@ #include <fcntl.h> #include <stdarg.h> #include <ctype.h> +#include <stdlib.h> #include "utils.h" |