Rewrite module 'stdint' to be fully autoconfiguring.
[gnulib.git] / m4 / readdir.m4
index db645ec..a20117c 100644 (file)
@@ -1,4 +1,11 @@
-#serial 7
+#serial 9
+
+# Copyright (C) 1997, 1999, 2000, 2001, 2002, 2003, 2006 Free Software
+# Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
 dnl SunOS's readdir is broken in such a way that rm.c has to add extra code
 dnl to test whether a NULL return value really means there are no more files
@@ -26,6 +33,7 @@ AC_CACHE_CHECK([for working readdir], gl_cv_func_working_readdir,
 
   AC_TRY_RUN(
 [#   include <stdio.h>
+#   include <stdlib.h>
 #   include <sys/types.h>
 #   include <string.h>