Skip to content

Commit 0eb25ab

Browse files
Ensure files using new (nothrow) include appropriate headers
1 parent a2213cc commit 0eb25ab

6 files changed

Lines changed: 12 additions & 0 deletions

File tree

engine/src/w32text.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
1717
#include "w32prefix.h"
1818

1919
#include "w32text.h"
20+
#include <foundation.h>
2021

2122
WideCString::WideCString(LPCSTR p_ansi_string, int p_length)
2223
{

libexternal/libexternal.gyp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
'library_for_module': 1,
1616
},
1717

18+
'dependencies':
19+
[
20+
'../libcore/libcore.gyp:libCore',
21+
],
22+
1823
'include_dirs':
1924
[
2025
'include',

libexternal/src/w32support.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
1717
#include <windows.h>
1818
#include <cstring>
1919
#include <revolution/support.h>
20+
#include <core.h>
2021

2122
char *string_from_utf16(const unsigned short *p_utf16_string, int p_utf16_length)
2223
{

revspeech/src/w32sapi4speech.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
2020

2121
#include "w32sapi4speech.h"
2222

23+
#include <core.h>
24+
2325
static char *path_from_native(const char *p_path)
2426
{
2527
char *t_path;

revspeech/src/w32sapi5speech.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
1919

2020
#include "w32sapi5speech.h"
2121

22+
#include <core.h>
23+
2224
#define VOICE_TYPE_STRING 64
2325
#define PITCH_XML_STRING 30
2426

revvideograbber/src/dsvideograbber.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
1818
#undef _UNICODE
1919

2020
#include <revolution/external.h>
21+
#include <core.h>
2122

2223
#include "dsvideograbber.h"
2324
#include "Vfw.h"

0 commit comments

Comments
 (0)