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:
@@ -8,6 +8,7 @@ details. */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#ifndef DISABLE_JAVA_NET
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/time.h>
|
||||
@@ -19,6 +20,7 @@ details. */
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#endif /* DISABLE_JAVA_NET */
|
||||
|
||||
#if HAVE_BSTRING_H
|
||||
// Needed for bzero, implicitly used by FD_ZERO on IRIX 5.2
|
||||
|
||||
Reference in New Issue
Block a user