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

#include <unistd.h> #include <unistd.h>
#include <wchar.h> #include <wchar.h>


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

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

#include <string.h> #include <string.h>
#include <wctype.h> #include <wctype.h>


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

Loading…
Cancel
Save