CVS update: php3/functions
| From: | sas | Date: | Tue, 22 Jun 1999 10:23:32 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-7396@lists.php.net to get a copy of this message | ||
Date: Tuesday June 22, 1999 @ 6:23
Author: sas
Update of /repository/php3/functions
In directory php:/tmp/cvs-serv16255/functions
Modified Files:
posix.c
Log Message:
make it compile on FreeBSD
Index: php3/functions/posix.c
diff -u php3/functions/posix.c:1.3 php3/functions/posix.c:1.4
--- php3/functions/posix.c:1.3 Sat Jun 12 07:05:34 1999
+++ php3/functions/posix.c Tue Jun 22 06:23:32 1999
@@ -40,6 +40,9 @@
#include "php3_posix.h"
#if HAVE_POSIX
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
#include <unistd.h>
#include <sys/resource.h>
#include <sys/utsname.h>
@@ -351,7 +354,6 @@
void php3_posix_getrlimit(INTERNAL_FUNCTION_PARAMETERS)
{
struct limitlist *l = NULL;
- struct rlimit rl;
if (array_init(return_value) == FAILURE) {
RETURN_FALSE;