Selaa lähdekoodia

include stdlib.h to get exit declaration

Wichert Akkerman 25 vuotta sitten
vanhempi
commit
0b0b080806
3 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  1. 5 0
      ChangeLog
  2. 1 0
      lib/showcright.c
  3. 1 0
      optlib/long-options.c

+ 5 - 0
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:

+ 1 - 0
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>
 

+ 1 - 0
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"