summaryrefslogtreecommitdiff
path: root/gl/lib/stdarg.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/lib/stdarg.in.h')
-rw-r--r--gl/lib/stdarg.in.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gl/lib/stdarg.in.h b/gl/lib/stdarg.in.h
index 95306bfb..8145216e 100644
--- a/gl/lib/stdarg.in.h
+++ b/gl/lib/stdarg.in.h
@@ -1,5 +1,5 @@
/* Substitute for and wrapper around <stdarg.h>.
- Copyright (C) 2008-2022 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