From 97cf151d27bd7e9810d0aa419a86e446761011e8 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 4 Oct 1999 21:37:30 +0000 Subject: [PATCH] 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 --- libjava/ChangeLog | 3 +++ libjava/java/net/natPlainSocketImpl.cc | 2 ++ 2 files changed, 5 insertions(+) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 8c44cf9..7511376 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,8 @@ 1999-10-04 Tom Tromey + * java/net/natPlainSocketImpl.cc: Don't include headers if + java.net is disabled. + * Makefile.in: Rebuilt. * Makefile.am (ZINCS): Removed. This is defined in configure.in when needed, and must be left empty when not needed. diff --git a/libjava/java/net/natPlainSocketImpl.cc b/libjava/java/net/natPlainSocketImpl.cc index df98fef..62dafd3 100644 --- a/libjava/java/net/natPlainSocketImpl.cc +++ b/libjava/java/net/natPlainSocketImpl.cc @@ -8,6 +8,7 @@ details. */ #include +#ifndef DISABLE_JAVA_NET #include #include #include @@ -19,6 +20,7 @@ details. */ #include #include #include +#endif /* DISABLE_JAVA_NET */ #if HAVE_BSTRING_H // Needed for bzero, implicitly used by FD_ZERO on IRIX 5.2 -- 2.7.4