copy-acl: enhance Solaris ACL error handling
[gnulib.git] / lib / sys_time.in.h
index 12f0860..fe7f624 100644 (file)
@@ -59,6 +59,8 @@ struct timeval
 #  if @REPLACE_GETTIMEOFDAY@
 #   undef gettimeofday
 #   define gettimeofday rpl_gettimeofday
+#  endif
+#  if @REPLACE_GETTIMEOFDAY@ || !@HAVE_GETTIMEOFDAY@
 extern int gettimeofday (struct timeval *restrict, void *restrict)
      _GL_ARG_NONNULL ((1));
 #  endif