diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2001-01-21 17:29:15 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2001-01-21 17:29:15 +0000 |
commit | 83cf6629ec02f98e7ceca3977709f21c1238c910 (patch) | |
tree | 02e925037834502999bf7b0a8595fae28587e0eb /ext/mysql/libmysql | |
parent | 3353ad7e6e757f6e7373b8c78fce7d461e2037aa (diff) | |
download | php-git-83cf6629ec02f98e7ceca3977709f21c1238c910.tar.gz |
@BeOS patch from svanegmond@bang.dhs.org modified somewhat by Rasmus
BeOS patch from svanegmond@bang.dhs.org modified somewhat by Rasmus
Diffstat (limited to 'ext/mysql/libmysql')
-rw-r--r-- | ext/mysql/libmysql/libmysql.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mysql/libmysql/libmysql.c b/ext/mysql/libmysql/libmysql.c index ebee8b6e10..a5ba1406a4 100644 --- a/ext/mysql/libmysql/libmysql.c +++ b/ext/mysql/libmysql/libmysql.c @@ -25,7 +25,9 @@ This file is public domain and comes with NO WARRANTY of any kind */ #if !defined(MSDOS) && !defined(__WIN__) #include <sys/socket.h> #include <netinet/in.h> +#ifdef HAVE_ARPA_INET_H #include <arpa/inet.h> +#endif #include <netdb.h> #ifdef HAVE_SELECT_H # include <select.h> |