mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-07 23:31:26 +00:00
Avoid implicit function messages when building the project.
This commit is contained in:
+2
-2
@@ -63,7 +63,7 @@ lib_LTLIBRARIES += src/libespeak-ng.la
|
||||
|
||||
src_libespeak_ng_la_LDFLAGS = -version-info $(SHARED_VERSION) -lpthread
|
||||
src_libespeak_ng_la_CFLAGS = -Isrc/include/espeak-ng \
|
||||
-fPIC -fvisibility=hidden -D LIBRARY \
|
||||
-fPIC -fvisibility=hidden -D LIBRARY -D _BSD_SOURCE -D _POSIX_C_SOURCE=200112L \
|
||||
-pedantic -fno-exceptions -D PATH_ESPEAK_DATA=\"$(DATADIR)\"
|
||||
src_libespeak_ng_la_SOURCES = \
|
||||
src/libespeak-ng/compiledata.c \
|
||||
@@ -141,7 +141,7 @@ bin_PROGRAMS += src/speak-ng
|
||||
|
||||
src_speak_ng_LDADD = src/libespeak-ng.la
|
||||
src_speak_ng_LDFLAGS = -static
|
||||
src_speak_ng_CFLAGS = -Isrc/libespeak-ng -Isrc/include/espeak-ng
|
||||
src_speak_ng_CFLAGS = -Isrc/libespeak-ng -Isrc/include/espeak-ng -D _POSIX_C_SOURCE=200112L
|
||||
src_speak_ng_SOURCES = src/speak-ng.c
|
||||
|
||||
bin_PROGRAMS += src/espeak-ng
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
***************************************************************************/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "speak_lib.h"
|
||||
#include "espeak_ng.h"
|
||||
|
||||
Reference in New Issue
Block a user