Make sure size_t is defined.
authorBruno Haible <bruno@clisp.org>
Fri, 5 Nov 2004 21:57:55 +0000 (21:57 +0000)
committerBruno Haible <bruno@clisp.org>
Fri, 5 Nov 2004 21:57:55 +0000 (21:57 +0000)
lib/ChangeLog
lib/readlink.c

index 213db3c..b88ef1c 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-05  Bruno Haible  <bruno@clisp.org>
+
+       * readlink.c: Include stddef.h, needed for size_t on Woe32.
+       Reported by Mark D. Baushke <mdb@cvshome.org>.
+
 2004-11-04  Bruno Haible  <bruno@clisp.org>
 
        2004-09-11  Bruno Haible  <bruno@clisp.org>
index c264efd..ad59c53 100644 (file)
@@ -1,5 +1,5 @@
 /* Stub for readlink().
-   Copyright (C) 2003 Free Software Foundation, Inc.
+   Copyright (C) 2003-2004 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -22,6 +22,7 @@
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <stddef.h>
 
 #if !HAVE_READLINK