* lib/options.h: Check that config.h was already included.
2025-07-08 Collin Funk <collin.funk1@gmail.com>
+ options: Add reminder to include <config.h>.
+ * lib/options.h: Check that config.h was already included.
+
stdcountof-h: Add reminder to include <config.h>.
* lib/stdcountof.in.h: Check that config.h was already included.
#ifndef _OPTIONS_H
#define _OPTIONS_H
+/* This file uses _GL_GNUC_PREREQ. */
+#if !_GL_CONFIG_H_INCLUDED
+ #error "Please include config.h first."
+#endif
+
/* This file provides a more convenient API to parsing program options,
based on GNU getopt_long() and thus compatible with the option parsing
conventions for GNU programs