summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortgoodwin <tgoodwin>1998-02-18 11:37:45 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:04 +0100
commit4682c96c0bd432f41abb6d83b9edf8bce195ce40 (patch)
treed6c3229f1d57a232d6ac3e0f189f515a4f5e7801
parent67fd3c37e6908795bd86220435a37637c9e16d63 (diff)
support ssize_t
-rw-r--r--acconfig.h7
-rw-r--r--configure.ac1
2 files changed, 5 insertions, 3 deletions
diff --git a/acconfig.h b/acconfig.h
index 33f3d18..f17cb7f 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -1,4 +1,7 @@
-/* Define if you want rc to hand off exec errors to (e.g.) /bin/sh */
+/* Define to a suitable ssize_t. */
+#undef ssize_t
+
+/* Define if you want rc to hand off exec errors to (e.g.) /bin/sh. */
#undef DEFAULTINTERP
/* Define to the default path used if $PATH is empty when rc starts. */
@@ -54,5 +57,3 @@
/* Define to release date. */
#undef RELDATE
-
-/* eof */
diff --git a/configure.ac b/configure.ac
index bcb9e92..f81f3c1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,6 +45,7 @@ AC_TYPE_GETGROUPS
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_TYPE_UID_T
+AC_CHECK_TYPE(ssize_t, unsigned)
AC_CHECK_FUNCS(getgroups setpgrp setrlimit)