File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
- #define _GNU_SOURCE
2
1
#include <sys/types.h>
3
2
#include <stdlib.h>
4
3
#include <stdarg.h>
Original file line number Diff line number Diff line change 6
6
#include <asn_internal.h>
7
7
#include <INTEGER.h>
8
8
#include <errno.h>
9
+ #include <inttypes.h>
9
10
10
11
/*
11
12
* INTEGER basic type description.
Original file line number Diff line number Diff line change 27
27
#include <limits.h> /* For LONG_MAX */
28
28
#include <stdarg.h> /* For va_start */
29
29
#include <stddef.h> /* for offsetof and ptrdiff_t */
30
+ #include <inttypes.h> /* for PRIdMAX */
30
31
31
32
#ifdef _WIN32
32
33
33
34
#include <malloc.h>
35
+ #ifndef __MINGW32__
34
36
#define snprintf _snprintf
35
37
#define vsnprintf _vsnprintf
38
+ #endif
36
39
37
40
/* To avoid linking with ws2_32.lib, here's the definition of ntohl() */
38
41
#define sys_ntohl (l ) ((((l) << 24) & 0xff000000) \
You can’t perform that action at this time.
0 commit comments