Skip to content

Commit e6fe910

Browse files
committed
Merge branch 'vlm_master' of https://github.com/mouse07410/asn1c into vlm_master
2 parents 8b9457c + 9ee68e6 commit e6fe910

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

libasn1common/asn1_buffer.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#define _GNU_SOURCE
21
#include <sys/types.h>
32
#include <stdlib.h>
43
#include <stdarg.h>

skeletons/INTEGER.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <asn_internal.h>
77
#include <INTEGER.h>
88
#include <errno.h>
9+
#include <inttypes.h>
910

1011
/*
1112
* INTEGER basic type description.

skeletons/asn_system.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,15 @@
2727
#include <limits.h> /* For LONG_MAX */
2828
#include <stdarg.h> /* For va_start */
2929
#include <stddef.h> /* for offsetof and ptrdiff_t */
30+
#include <inttypes.h> /* for PRIdMAX */
3031

3132
#ifdef _WIN32
3233

3334
#include <malloc.h>
35+
#ifndef __MINGW32__
3436
#define snprintf _snprintf
3537
#define vsnprintf _vsnprintf
38+
#endif
3639

3740
/* To avoid linking with ws2_32.lib, here's the definition of ntohl() */
3841
#define sys_ntohl(l) ((((l) << 24) & 0xff000000) \

0 commit comments

Comments
 (0)