1 // posix.h -- Helper functions for POSIX-flavored OSs.
3 /* Copyright (C) 2000 Free Software Foundation
5 This file is part of libgcj.
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
11 /* Required on Tru64 UNIX V4/V5 so <sys/socket.h> defines prototypes of
12 socket functions with socklen_t instead of size_t. This must be defined
13 early so <standards.h> defines the correct version of __PIIX. */
14 #define _POSIX_PII_SOCKET
17 #include <sys/types.h>
19 #ifdef HAVE_SYS_TIME_H
23 #ifdef HAVE_SYS_SELECT_H
24 #include <sys/select.h>
31 extern int _Jv_select (int n, fd_set *, fd_set *, fd_set *, struct timeval *);
32 extern void _Jv_gettimeofday (struct timeval *);