freebsd-ports/cad/spice/files/patch-src_include_misc_h
Thierry Thomas 714ea1c662 - Switch to the latest distfiles;
- Import a patch from DragonflyBSD;

- Pet portlint.

Submitted by:	Pedro F. Giffuni <pfgshield-freebsd (at) yahoo.com>
2006-04-05 20:51:27 +00:00

25 lines
514 B
Plaintext

--- src/include/misc.h.orig Sun Apr 25 16:37:48 1993
+++ src/include/misc.h Mon Apr 3 23:04:51 2006
@@ -86,8 +86,10 @@
extern char *realloc();
extern char *getenv();
extern int errno;
+#ifndef __FreeBSD__
extern char *sys_errlist[];
extern char *getenv();
+#endif
extern char *getwd();
extern int rand();
extern int srand();
@@ -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