Reported by John E. Malmberg <wb8tyw@gmail.com>.
* lib/classpath.h: Conditionalize the include of config.h.
+2017-06-19 Bruno Haible <bruno@clisp.org>
+
+ classpath: Avoid including config.h twice, as it produces warnings.
+ Reported by John E. Malmberg <wb8tyw@gmail.com>.
+ * lib/classpath.h: Conditionalize the include of config.h.
+
2017-06-19 Bruno Haible <bruno@clisp.org>
John E. Malmberg <wb8tyw@gmail.com> (tiny change)
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include <config.h>
+/* If CLASSPATHVAR is defined, this file is being #included, and config.h is
+ therefore already included. */
+#if !defined CLASSPATHVAR
+# include <config.h>
+#endif
/* Specification. */
#include "classpath.h"