34 lines
690 B
Text
34 lines
690 B
Text
--- src/include/misc.h.orig 1993-04-25 21:37:48.000000000 +0000
|
|
+++ src/include/misc.h 2011-06-24 16:37:44.000000000 +0000
|
|
@@ -86,9 +86,11 @@
|
|
extern char *realloc();
|
|
extern char *getenv();
|
|
extern int errno;
|
|
+#ifndef __FreeBSD__
|
|
extern char *sys_errlist[];
|
|
extern char *getenv();
|
|
extern char *getwd();
|
|
+#endif
|
|
extern int rand();
|
|
extern int srand();
|
|
extern int atoi();
|
|
@@ -100,7 +102,7 @@
|
|
# endif
|
|
|
|
# ifdef HAS_GETCWD
|
|
-extern char *getcwd( );
|
|
+#include <unistd.h>
|
|
# endif
|
|
|
|
# ifdef HAS_CLEARERR
|
|
@@ -154,7 +156,9 @@
|
|
|
|
#ifndef HAS_MEMAVL
|
|
# ifdef HAS_RLIMIT_
|
|
-extern char *sbrk();
|
|
+#include <sys/types.h>
|
|
+#include <sys/time.h>
|
|
+#include <sys/resource.h>
|
|
# endif
|
|
#endif
|
|
|