fix a warning on freebsd;

svn:r114
This commit is contained in:
Niels Provos 2004-07-30 05:00:44 +00:00
parent 06aaa92fe2
commit d829ccea3d
2 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@
#define log_error warn
#endif
#if defined(HAVE_INTTYPES_H) && !defined(__OpenBSD__)
#if defined(HAVE_INTTYPES_H) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
#define INTPTR(x) (intptr_t)x
#else
#define INTPTR(x) x

View File

@ -535,9 +535,9 @@ main (int argc, char **argv)
WORD wVersionRequested;
WSADATA wsaData;
int err;
wVersionRequested = MAKEWORD( 2, 2 );
err = WSAStartup( wVersionRequested, &wsaData );
#endif