2020-12-12 21:32:47 +00:00
|
|
|
---
|
|
|
|
mingw-w64-tools/genidl/src/genidl_cfg.h | 2 ++
|
|
|
|
mingw-w64-tools/genidl/src/genidl_typinfo.c | 3 +++
|
2022-02-11 02:00:59 +00:00
|
|
|
2 files changed, 5 insertions(+)
|
2020-12-12 21:32:47 +00:00
|
|
|
|
|
|
|
--- a/mingw-w64-tools/genidl/src/genidl_cfg.h
|
|
|
|
+++ b/mingw-w64-tools/genidl/src/genidl_cfg.h
|
|
|
|
@@ -26,7 +26,9 @@
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
+#if defined(HAVE_MALLOC_H)
|
|
|
|
#include <malloc.h>
|
|
|
|
+#endif
|
|
|
|
#include <memory.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
--- a/mingw-w64-tools/genidl/src/genidl_typinfo.c
|
|
|
|
+++ b/mingw-w64-tools/genidl/src/genidl_typinfo.c
|
|
|
|
@@ -21,7 +21,10 @@
|
|
|
|
#include "genidl_cfg.h"
|
|
|
|
#include "genidl_typeinfo.h"
|
|
|
|
#include "genidl_typinfo.h"
|
|
|
|
+#if defined(HAVE_MALLOC_H)
|
|
|
|
#include <malloc.h>
|
|
|
|
+#endif
|
|
|
|
+#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <memory.h>
|
2022-02-11 02:00:59 +00:00
|
|
|
|