Include stdlib.h
This commit is contained in:
parent
c4bd8b1463
commit
0340256b4c
|
|
@ -17,7 +17,7 @@ const char COPYRIGHT[] =
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
*/
|
||||
#if !defined(WINNT) && !defined(macintosh)
|
||||
#ident "$Id: main.c,v 1.9 2001/05/20 18:08:07 steve Exp $"
|
||||
#ident "$Id: main.c,v 1.10 2001/06/23 18:41:02 steve Exp $"
|
||||
#endif
|
||||
|
||||
const char NOTICE[] =
|
||||
|
|
@ -39,6 +39,7 @@ const char NOTICE[] =
|
|||
const char VERSION[] = "$Name: $ $State: Exp $";
|
||||
|
||||
# include <stdio.h>
|
||||
# include <stdlib.h>
|
||||
# include <malloc.h>
|
||||
# include <unistd.h>
|
||||
# include <string.h>
|
||||
|
|
@ -183,6 +184,9 @@ int main(int argc, char*argv[])
|
|||
|
||||
/*
|
||||
* $Log: main.c,v $
|
||||
* Revision 1.10 2001/06/23 18:41:02 steve
|
||||
* Include stdlib.h
|
||||
*
|
||||
* Revision 1.9 2001/05/20 18:08:07 steve
|
||||
* local declares if the header is missing.
|
||||
*
|
||||
|
|
|
|||
6
main.cc
6
main.cc
|
|
@ -19,7 +19,7 @@ const char COPYRIGHT[] =
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
*/
|
||||
#if !defined(WINNT) && !defined(macintosh)
|
||||
#ident "$Id: main.cc,v 1.41 2001/05/20 17:35:05 steve Exp $"
|
||||
#ident "$Id: main.cc,v 1.42 2001/06/23 18:41:02 steve Exp $"
|
||||
#endif
|
||||
|
||||
const char NOTICE[] =
|
||||
|
|
@ -44,6 +44,7 @@ const char NOTICE[] =
|
|||
# include <queue>
|
||||
# include <map>
|
||||
# include <unistd.h>
|
||||
# include <stdlib.h>
|
||||
#if defined(HAVE_GETOPT_H)
|
||||
# include <getopt.h>
|
||||
#endif
|
||||
|
|
@ -336,6 +337,9 @@ int main(int argc, char*argv[])
|
|||
|
||||
/*
|
||||
* $Log: main.cc,v $
|
||||
* Revision 1.42 2001/06/23 18:41:02 steve
|
||||
* Include stdlib.h
|
||||
*
|
||||
* Revision 1.41 2001/05/20 17:35:05 steve
|
||||
* declare getopt by hand in mingw32 compile.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue