mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-15 07:54:13 +00:00
Cleanup warnings for missing/wrong include files
This commit is contained in:
parent
e859670886
commit
ce2fa3a119
@ -33,6 +33,7 @@ static char *id = "$Id: dbgtool.c,v 1.4 2001/12/24 01:09:00 sybalsky Exp $ Copyr
|
||||
*/
|
||||
/***************************************************************/
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <setjmp.h>
|
||||
#include "lispemul.h"
|
||||
#include "lispmap.h"
|
||||
|
||||
@ -24,7 +24,9 @@ static char *id = "$Id: dir.c,v 1.4 2001/12/26 22:17:01 sybalsky Exp $ Copyright
|
||||
#ifndef DOS
|
||||
#include <sys/param.h>
|
||||
#ifndef OS5
|
||||
#ifndef FREEBSD
|
||||
#include <sys/dir.h>
|
||||
#endif /* FREEBSD */
|
||||
#endif /* OS5 */
|
||||
#include <sys/stat.h>
|
||||
#include <setjmp.h>
|
||||
@ -36,7 +38,7 @@ static char *id = "$Id: dir.c,v 1.4 2001/12/26 22:17:01 sybalsky Exp $ Copyright
|
||||
/* #include <string.h> */
|
||||
#endif /* SYSVONLY */
|
||||
|
||||
#ifdef LINUX
|
||||
#if defined(LINUX) || defined(MACOSX) || defined(FREEBSD)
|
||||
#include <string.h>
|
||||
#endif /* LINUX */
|
||||
|
||||
@ -75,7 +77,7 @@ static char *id = "$Id: dir.c,v 1.4 2001/12/26 22:17:01 sybalsky Exp $ Copyright
|
||||
#include <unistd.h>
|
||||
#endif /* SYSVONLY */
|
||||
|
||||
#ifdef OS5
|
||||
#if defined(OS5) || defined(FREEBSD)
|
||||
#include <dirent.h>
|
||||
#define direct dirent
|
||||
#endif
|
||||
|
||||
@ -31,6 +31,7 @@ static char *id = "$Id: keymaker.c,v 1.3 1999/05/31 23:35:35 sybalsky Exp $ Copy
|
||||
===================================================================== */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
|
||||
@ -39,6 +39,7 @@ static char *id = "$Id: rpc.c,v 1.3 2001/12/24 01:09:06 sybalsky Exp $ Copyright
|
||||
#include <netdb.h>
|
||||
#include <errno.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <string.h> /* for memset/memcpy */
|
||||
#endif /* DOS */
|
||||
#include "lispemul.h"
|
||||
#include "lispmap.h"
|
||||
|
||||
@ -37,7 +37,7 @@ static char *id = "$Id: uutils.c,v 1.3 1999/05/31 23:35:47 sybalsky Exp $ Copyri
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
#ifndef SYSVONLY
|
||||
#ifdef DOS
|
||||
#if defined(DOS) || defined(MACOSX) || defined(FREEBSD)
|
||||
#include <string.h>
|
||||
#else
|
||||
#include <strings.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user