]> git.ipfire.org Git - thirdparty/json-c.git/commit
apps: use CMake check for getopt.h 904/head
authorLakshmi-Surekha <Lakshmi.Kovvuri@ibm.com>
Thu, 27 Nov 2025 13:19:22 +0000 (07:19 -0600)
committerLakshmi-Surekha <Lakshmi.Kovvuri@ibm.com>
Sat, 29 Nov 2025 07:32:10 +0000 (01:32 -0600)
commita7b34a299b5e8fe6e0e4047a14da36085966112e
treea51e06e793e2bcbaf94339894acd7241171c9c19
parent243ed1a51c7b1735c235abda65c057adee9e9fb4
apps: use CMake check for getopt.h
Add CMake detection for getopt.h and update json_parse.c to include it
only when HAVE_GETOPT_H is defined. Fixes AIX build failure.
apps/CMakeLists.txt
apps/json_parse.c