Revamp lchown so that it lives in unistd.h where it belongs.
[pspp] / m4 / strsep.m4
index 6073adb388807c7922fac90fda3b6bbc784a74d0..0abbf089ce9d934ff564fc659d776b80de4d85a0 100644 (file)
@@ -1,4 +1,4 @@
-# strsep.m4 serial 5
+# strsep.m4 serial 6
 dnl Copyright (C) 2002, 2003, 2004, 2007 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_STRSEP],
   dnl Persuade glibc <string.h> to declare strsep().
   AC_REQUIRE([AC_GNU_SOURCE])
 
+  dnl The strsep() declaration in lib/string_.h uses 'restrict'.
+  AC_REQUIRE([AC_C_RESTRICT])
+
   AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
   AC_REPLACE_FUNCS(strsep)
   if test $ac_cv_func_strsep = no; then