1
0
Fork 0

FreeBSD tweak.

This commit is contained in:
curt 1999-06-29 15:28:03 +00:00
parent 12f56a6aa5
commit 93b23973c7

View file

@ -45,6 +45,7 @@ void check_master_switch() {
// check if the host system is free of interactive users
int system_free() {
#ifndef __FreeBSD__
struct utmp *uptr;
setutent();
@ -61,6 +62,10 @@ int system_free() {
}
endutent();
#else
# warning Port me
#endif
return 1;
}