You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
627 B

  1. --- a/gcmdline.c
  2. +++ b/gcmdline.c
  3. @@ -29,6 +29,7 @@
  4. */
  5. #include <stdio.h>
  6. +#include <stdlib.h>
  7. #include "gkermit.h"
  8. /* Externals */
  9. @@ -53,7 +54,7 @@ _MYPROTOTYPE( VOID fatal, (char *) );
  10. _MYPROTOTYPE( VOID usage, (void) );
  11. #ifndef NOGETENV
  12. -_MYPROTOTYPE( char * getenv, (char *) );
  13. +_MYPROTOTYPE( char * getenv, (const char *) );
  14. #define GARGC 32
  15. #define GBUFSIZ 256
  16. static char gbuf[GBUFSIZ], *gargs[GARGC], *gptr = NULL;
  17. --- a/gunixio.c
  18. +++ b/gunixio.c
  19. @@ -58,6 +58,7 @@
  20. */
  21. #include <stdio.h> /* Standard input/output */
  22. +#include <stdlib.h>
  23. #ifdef POSIX
  24. #include <termios.h> /* Terminal modes */