120-alpine_musl-compat.patch 486 B

1234567891011121314151617
  1. --- a/Utilities/cmjsoncpp/include/json/assertions.h
  2. +++ b/Utilities/cmjsoncpp/include/json/assertions.h
  3. @@ -6,12 +6,12 @@
  4. #ifndef CPPTL_JSON_ASSERTIONS_H_INCLUDED
  5. #define CPPTL_JSON_ASSERTIONS_H_INCLUDED
  6. +#include <stdlib.h>
  7. +
  8. #if !defined(JSON_IS_AMALGAMATION)
  9. #include "config.h"
  10. #endif // if !defined(JSON_IS_AMALGAMATION)
  11. -#include <stdlib.h>
  12. -
  13. #if JSON_USE_EXCEPTION
  14. #include <stdexcept>
  15. #define JSON_ASSERT(condition) \