summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/quote.c3
-rw-r--r--lib/quotearg.c5
2 files changed, 7 insertions, 1 deletions
diff --git a/lib/quote.c b/lib/quote.c
index fd1b57e92..0ce935cb2 100644
--- a/lib/quote.c
+++ b/lib/quote.c
@@ -4,6 +4,9 @@
# include <config.h>
#endif
+#if HAVE_STDDEF_H
+# include <stddef.h> /* For the definition of size_t on windows w/MSVC. */
+#endif
#include <sys/types.h>
#include <quotearg.h>
#include <quote.h>
diff --git a/lib/quotearg.c b/lib/quotearg.c
index d5fbc9e60..a668a68b5 100644
--- a/lib/quotearg.c
+++ b/lib/quotearg.c
@@ -1,5 +1,5 @@
/* quotearg.c - quote arguments for output
- Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001 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
@@ -21,6 +21,9 @@
# include <config.h>
#endif
+#if HAVE_STDDEF_H
+# include <stddef.h> /* For the definition of size_t on windows w/MSVC. */
+#endif
#include <sys/types.h>
#include <quotearg.h>
#include <xalloc.h>