summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/README4
-rw-r--r--lib/replace/libreplace.m44
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/replace/README b/lib/replace/README
index 4d94317c4b..2f3b37340f 100644
--- a/lib/replace/README
+++ b/lib/replace/README
@@ -72,6 +72,7 @@ uint_t
uint{8,16,32,64}_t
int{8,16,32,64}_t
intptr_t
+sig_atomic_t
Constants:
PATH_NAME_MAX
@@ -107,6 +108,9 @@ Headers:
stdint.h
stdbool.h
+Optional C keywords:
+volatile
+
Prerequisites:
memset (for bzero)
syslog (for vsyslog)
diff --git a/lib/replace/libreplace.m4 b/lib/replace/libreplace.m4
index 05e73fb569..5e13d4a47e 100644
--- a/lib/replace/libreplace.m4
+++ b/lib/replace/libreplace.m4
@@ -64,10 +64,10 @@ AC_CHECK_TYPE(offset_t,loff_t)
AC_FUNC_MEMCMP
-AC_CHECK_FUNCS(pipe strftime srandom random srand rand usleep setbuffer lstat getpgrp)
+AC_CHECK_FUNCS([pipe strftime srandom random srand rand usleep setbuffer lstat getpgrp utime utimes])
AC_CHECK_HEADERS(stdbool.h stdint.h sys/select.h)
-AC_CHECK_HEADERS(setjmp.h)
+AC_CHECK_HEADERS(setjmp.h utime.h)
LIBREPLACE_PROVIDE_HEADER([stdint.h])
LIBREPLACE_PROVIDE_HEADER([stdbool.h])