summaryrefslogtreecommitdiff
path: root/lib/stdarg.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stdarg.in.h')
-rw-r--r--lib/stdarg.in.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/stdarg.in.h b/lib/stdarg.in.h
index 9269da2..8145216 100644
--- a/lib/stdarg.in.h
+++ b/lib/stdarg.in.h
@@ -1,5 +1,5 @@
/* Substitute for and wrapper around <stdarg.h>.
- Copyright (C) 2008-2021 Free Software Foundation, Inc.
+ Copyright (C) 2008-2023 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
@@ -27,6 +27,11 @@
#ifndef _@GUARD_PREFIX@_STDARG_H
#define _@GUARD_PREFIX@_STDARG_H
+/* This file uses va_copy. */
+#if !_GL_CONFIG_H_INCLUDED
+ #error "Please include config.h first."
+#endif
+
#ifndef va_copy
# define va_copy(a,b) ((a) = (b))
#endif