From 4d00eea94c8f06e6ad8d84eeedef744d3aea58b1 Mon Sep 17 00:00:00 2001
From: Jim Meyering <jim@meyering.net>
Date: Fri, 26 Jan 2001 11:15:37 +0000
Subject: [PATCH] Include stddef.h.

---
 lib/quote.c    | 3 +++
 lib/quotearg.c | 5 ++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/lib/quote.c b/lib/quote.c
index fd1b57e924..0ce935cb20 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 d5fbc9e603..a668a68b57 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>
-- 
2.39.5