summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWichert Akkerman <wakkerma@debian.org>2001-04-21 22:16:07 +0000
committerWichert Akkerman <wakkerma@debian.org>2001-04-21 22:16:07 +0000
commit0b0b0808060caaa30e2130e8030423197ac413fc (patch)
tree273401ffbc7a706e7723afb090eb9bbf4d8c5e71
parentbf40e89a843efc6ec68e0033c22fc5f0bf54c8e4 (diff)
downloaddpkg-0b0b0808060caaa30e2130e8030423197ac413fc.tar.gz
include stdlib.h to get exit declaration
-rw-r--r--ChangeLog5
-rw-r--r--lib/showcright.c1
-rw-r--r--optlib/long-options.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 10dd2a036..9f0724b10 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Apr 22 00:09:58 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
+
+ * optlib/long-options.c, lib/showcright.c: include stdlib.h to get
+ declaration of exit
+
Sat Apr 21 17:10:32 CEST 2001 peter karlsson <peterk@debian.org>
* po/sv.po, doc/sv/dpkg.8, doc/sv/start-stop-daemon.8:
diff --git a/lib/showcright.c b/lib/showcright.c
index b05bf4f15..bb28a1931 100644
--- a/lib/showcright.c
+++ b/lib/showcright.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
diff --git a/optlib/long-options.c b/optlib/long-options.c
index 4d216abd3..1a2de79c1 100644
--- a/optlib/long-options.c
+++ b/optlib/long-options.c
@@ -22,6 +22,7 @@
#endif
#include <stdio.h>
+#include <stdlib.h>
#include <getopt.h>
#include "closeout.h"
#include "long-options.h"