lib/getopt*.c: Include <config.h> only HAVE_CONFIG_H is defined.
commitaff1b479c7b168652bd20305ceed4317d5db6661
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 12 Sep 2023 17:55:10 +0000 (12 20:55 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 22 Sep 2023 17:06:27 +0000 (22 20:06 +0300)
tree2a755daa9212001d9d432212eb6683400d3d124d
parentaa0cd585d2ed1455d35732798e0d90e3520e8ba5
lib/getopt*.c: Include <config.h> only HAVE_CONFIG_H is defined.

The CMake-based build doesn't use config.h.

Up-to-date getopt_long in Gnulib is LGPLv2 so at some
point it could be included in XZ Utils too but for now
this commit is enough to make CMake-based build possible.
lib/getopt.c
lib/getopt1.c