summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"