aboutsummary'>refslog'>treecommit'>diffstats
'>
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2009-05-01 16:44:55 +0200
committerBertrand Jacquin <beber@meleeweb.net>2009-05-01 16:44:55 +0200
commit347aeb099e9c78eb74d9c905ffc233d8baadcc59 ( ('>patch)
tree'>28a97e012972571cfa61dd0ea3aae515d836e667
parentflx: ignore *.o and flx ('>diff)
downloadflxutils-347aeb099e9c78eb74d9c905ffc233d8baadcc59.tar.gz
flx: fix implicit declaration of function 'exit'
-rw-r--r--flx/arg.c1
-rw-r--r--flx/check.c1
-rw-r--r--flx/input.c2
-rw-r--r--flx/output.c1
-rw-r--r--flx/utils.c1
5 files changed, 6 insertions, 0 deletions
diff --git a/flx/arg.c b/flx/arg.c
index d82d2d1..8b7c112 100644
--- a/flx/arg.c
+++ b/flx/arg.c
@@ -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"