summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/appl/bsd/ChangeLog3
-rw-r--r--src/appl/bsd/configure.in2
-rw-r--r--src/appl/bsd/krshd.c3
3 files changed, 6 insertions, 2 deletions
diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog
index 93f455b43..191bb3765 100644
--- a/src/appl/bsd/ChangeLog
+++ b/src/appl/bsd/ChangeLog
@@ -1,5 +1,8 @@
Wed Jul 27 12:52:04 1994 Mark Eichin (eichin@tweedledumber.cygnus.com)
+ * krshd.c: HAVE_SYS_LABEL_H, which seems to be SunOS 4 specific.
+ * configure.in: test for add sys/label.h to HEADERS test.
+
* krcp.c (rsource): USE_DIRENT_H.
* configure.in: test for HAVE_UNISTD_H.
diff --git a/src/appl/bsd/configure.in b/src/appl/bsd/configure.in
index f405f750c..ed5da0282 100644
--- a/src/appl/bsd/configure.in
+++ b/src/appl/bsd/configure.in
@@ -9,7 +9,7 @@ AC_HAVE_LIBRARY(socket)
AC_HAVE_LIBRARY(nsl)
AC_FUNC_CHECK(utimes,AC_DEFINE(HAS_UTIMES))
AC_FUNC_CHECK(getutent,AC_DEFINE(HAVE_GETUTENT))
-AC_HAVE_HEADERS(sys/filio.h unistd.h)
+AC_HAVE_HEADERS(sys/filio.h unistd.h sys/label.h)
CHECK_DIRENT
CHECK_FCNTL
AC_COMPILE_CHECK([F_SETOWN],
diff --git a/src/appl/bsd/krshd.c b/src/appl/bsd/krshd.c
index 5aabbb54e..5b8622a60 100644
--- a/src/appl/bsd/krshd.c
+++ b/src/appl/bsd/krshd.c
@@ -122,7 +122,8 @@ static char sccsid[] = "@(#)rshd.c 5.12 (Berkeley) 9/12/88";
#include <ctype.h>
#include <string.h>
-#ifdef sun
+#ifdef HAVE_SYS_LABEL_H
+/* only SunOS 4? */
#include <sys/label.h>
#include <sys/audit.h>
#include <pwdadj.h>