From db0ef248bcc9b45a06558bc70bfb1e5d65496d42 Mon Sep 17 00:00:00 2001 From: bryce Date: Mon, 11 Mar 2002 04:15:51 +0000 Subject: * include/posix.h: Add multiple include header protection. * java/net/natPlainSocketImpl.cc: Don't #include . git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50559 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/include/posix.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libjava/include') diff --git a/libjava/include/posix.h b/libjava/include/posix.h index 05c6ddfad4c..7e9aaf54d92 100644 --- a/libjava/include/posix.h +++ b/libjava/include/posix.h @@ -8,6 +8,9 @@ This software is copyrighted work licensed under the terms of the Libgcj License. Please consult the file "LIBGCJ_LICENSE" for details. */ +#ifndef __JV_POSIX_H__ +#define __JV_POSIX_H__ + /* Required on Tru64 UNIX V4/V5 so defines prototypes of socket functions with socklen_t instead of size_t. This must be defined early so defines the correct version of __PIIX. */ @@ -42,3 +45,5 @@ _Jv_platform_close_on_exec (jint fd) // Ignore errors. fcntl (fd, F_SETFD, FD_CLOEXEC); } + +#endif -- cgit v1.2.3