Skip to content

Commit

Permalink
fix build against musl
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed May 6, 2020
1 parent d919aea commit 96b4e9d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jshon.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ static json_t *compat_json_loads(const char *input, json_error_t *error)
#include <stdarg.h>

#ifdef _WIN32
typedef unsigned int uint;
// Avoid no-declared error for mingw/gcc with -std=c99.
extern int fileno(FILE*);
extern char* strdup(const char*);
Expand Down Expand Up @@ -212,7 +211,7 @@ typedef struct
{
void* itr; // object iterator
json_t** stk; // stack reentry
uint lin; // array iterator
unsigned int lin; // array iterator
int opt; // optind reentry
int fin; // finished iteration
} mapping;
Expand Down

0 comments on commit 96b4e9d

Please sign in to comment.