1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-30 13:26:53 +00:00

Cleanup warnings for missing/wrong include files

This commit is contained in:
Nick Briggs
2017-05-25 15:48:08 -07:00
parent e859670886
commit ce2fa3a119
5 changed files with 8 additions and 3 deletions

View File

@@ -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