1
/* @(#)libport.h 1.4 00/11/08 Copyright 1995 J. Schilling */
3
* Copyright (c) 1995 J. Schilling
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2, or (at your option)
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; see the file COPYING. If not, write to
18
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
38
* Don't use the usleep() from libc on SCO's OPENSERVER.
39
* It will kill our processes with SIGALRM.
42
* Don't #undef HAVE_USLEEP in this file, SCO has a
43
* usleep() prototype in unistd.h
45
/*#undef HAVE_USLEEP*/
48
#ifndef HAVE_GETHOSTID
49
extern long gethostid __PR((void));
51
#ifndef HAVE_GETHOSTNAME
52
extern int gethostname __PR((char *name, int namelen));
54
#ifndef HAVE_GETDOMAINNAME
55
extern int getdomainname __PR((char *name, int namelen));
58
extern int usleep __PR((int usec));
65
#endif /* _LIBPORT_H */