Browse Source

Fix Windows includes (don't rely on speech.h).

master
Reece H. Dunn 9 years ago
parent
commit
c0d79709c4
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/libespeak-ng/speech.c
  2. 1
    1
      src/libespeak-ng/voices.c

+ 1
- 1
src/libespeak-ng/speech.c View File

@@ -32,7 +32,7 @@
#include <unistd.h>
#include <wchar.h>

#ifdef PLATFORM_WINDOWS
#if defined(_WIN32) || defined(_WIN64)
#include <fcntl.h>
#include <io.h>
#include <windows.h>

+ 1
- 1
src/libespeak-ng/voices.c View File

@@ -26,7 +26,7 @@
#include <string.h>
#include <wctype.h>

#ifdef PLATFORM_WINDOWS
#if defined(_WIN32) || defined(_WIN64)
#include <windows.h>
#else
#include <dirent.h>

Loading…
Cancel
Save