a000c62808
Remove some declarations (not all correct) and #include <errno.h>, <time.h>, and <unistd.h> to get the correct declarations. Disable mount(2), umount(2), and stime(2) because BSD (around 4.3BSD-Reno) lost compatibility with these Unix v7 functions.
33 lines
685 B
C
33 lines
685 B
C
/*
|
|
Provisional arrangement for determining the system on which
|
|
the program is being translated.
|
|
*/
|
|
|
|
/* $Id$ */
|
|
|
|
#include <local.h>
|
|
|
|
#ifdef BSD4_1
|
|
#define BSD_X
|
|
#endif /* BSD4_1 */
|
|
|
|
#ifdef BSD4_2
|
|
#define BSD_X
|
|
#endif /* BSD4_2 */
|
|
|
|
#ifdef SYS_5
|
|
#define SYS_V
|
|
#endif /* SYS_5 */
|
|
|
|
/* FIXME: A lot of modern systems, including Linux, don't have struct sgtty
|
|
* and associated ioctls. If you *do* have it, uncomment this. All this
|
|
* code should probably be rewritten one day to use termios instead, which
|
|
* seems to be the standard that won. --- dtrg */
|
|
|
|
//#define WANT_SGTTY
|
|
|
|
/* FIXME: Uncomment to enable these calls in moncalls.c */
|
|
|
|
//#define WANT_MOUNT_UMOUNT
|
|
//#define WANT_STIME
|