natPlainSocketImpl.cc: Don't include headers if java.net is disabled.

* java/net/natPlainSocketImpl.cc: Don't include headers if
	java.net is disabled.

From-SVN: r29812
This commit is contained in:
Tom Tromey 1999-10-04 21:37:30 +00:00 committed by Tom Tromey
parent 05a3dfc719
commit 97cf151d27
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
1999-10-04 Tom Tromey <tromey@cygnus.com> 1999-10-04 Tom Tromey <tromey@cygnus.com>
* java/net/natPlainSocketImpl.cc: Don't include headers if
java.net is disabled.
* Makefile.in: Rebuilt. * Makefile.in: Rebuilt.
* Makefile.am (ZINCS): Removed. This is defined in configure.in * Makefile.am (ZINCS): Removed. This is defined in configure.in
when needed, and must be left empty when not needed. when needed, and must be left empty when not needed.

View File

@ -8,6 +8,7 @@ details. */
#include <config.h> #include <config.h>
#ifndef DISABLE_JAVA_NET
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/time.h> #include <sys/time.h>
@ -19,6 +20,7 @@ details. */
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#endif /* DISABLE_JAVA_NET */
#if HAVE_BSTRING_H #if HAVE_BSTRING_H
// Needed for bzero, implicitly used by FD_ZERO on IRIX 5.2 // Needed for bzero, implicitly used by FD_ZERO on IRIX 5.2