mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-15 15:57:13 +00:00
Fix implicit declarations of library functions due to missing include string.h.
modified: ../src/gcarray.c modified: ../src/initkbd.c modified: ../src/uraid.c modified: ../src/uutils.c
This commit is contained in:
parent
2f0aa254aa
commit
06cc0316a0
@ -62,6 +62,9 @@ static char *id = "$Id: gcarray.c,v 1.3 1999/05/31 23:35:30 sybalsky Exp $ Copyr
|
||||
#include "debug.h"
|
||||
#include "lispmap.h"
|
||||
#include <stdio.h>
|
||||
#if defined(MACOSX) || defined(FREEBSD)
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
/*** not currently used -FS
|
||||
#define min(a,b) ((a > b)?b:a)
|
||||
|
||||
@ -18,6 +18,9 @@ static char *id = "$Id: initkbd.c,v 1.2 1999/01/03 02:07:09 sybalsky Exp $ Copyr
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#if defined(MACOSX) || defined(FREEBSD)
|
||||
#include <string.h>
|
||||
#endif
|
||||
#ifndef DOS
|
||||
#include <sys/file.h>
|
||||
#endif /* DOS */
|
||||
|
||||
@ -27,6 +27,7 @@ static char *id = "@(#) uraid.c 1.52 4/23/92 (Venue & Fuji Xerox)";
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef ISC
|
||||
#include <sys/bsdtypes.h>
|
||||
@ -68,7 +69,7 @@ extern int Win_security_p;
|
||||
#ifdef OS5
|
||||
#include <stropts.h>
|
||||
#endif /* OS5 */
|
||||
#ifdef FREEBSD
|
||||
#if defined(FREEBSD) || defined(MACOSX)
|
||||
/* for memset */
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
@ -34,12 +34,15 @@ 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
|
||||
#if defined(DOS) || defined(MACOSX) || defined(FREEBSD)
|
||||
#if defined(DOS)
|
||||
#include <string.h>
|
||||
#else
|
||||
#include <strings.h>
|
||||
#endif /* DOS */
|
||||
#endif /* SYSVONLY */
|
||||
#if defined(MACOSX) || defined(FREEBSD) /* we compile these with SYSVONLY but... */
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include "lispemul.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user