CVS update: php3/functions
| From: | martin | Date: | Tue, 05 Jan 1999 16:12:30 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3286@lists.php.net to get a copy of this message | ||
Date: Tuesday January 5, 1999 @ 11:12
Author: martin
Update of /repository/php3/functions
In directory asf:/u/temp/cvs-serv20814/functions
Modified Files:
snmp.c
Log Message:
This platform has only <errno.h>, not <sys/errno.h>.
Isn't that the more portable (POSIX-wise) way for other platforms as well?
Index: php3/functions/snmp.c
diff -c php3/functions/snmp.c:1.8 php3/functions/snmp.c:1.9
*** php3/functions/snmp.c:1.8 Fri Jan 1 12:59:18 1999
--- php3/functions/snmp.c Tue Jan 5 11:12:28 1999
***************
*** 26,32 ****
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: snmp.c,v 1.8 1999/01/01 17:59:18 zeev Exp $ */
#include "php.h"
#include "internal_functions.h"
--- 26,32 ----
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
! /* $Id: snmp.c,v 1.9 1999/01/05 16:12:28 martin Exp $ */
#include "php.h"
#include "internal_functions.h"
***************
*** 45,51 ****
--- 45,55 ----
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+ #ifndef _OSD_POSIX
#include <sys/errno.h>
+ #else
+ #include <errno.h> /* BS2000/OSD uses <errno.h>, not <sys/errno.h> */
+ #endif
#include <netdb.h>
#endif
#ifdef HAVE_UNISTD_H
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net