1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Fixed cygwin compile

This commit is contained in:
James Booth 2016-02-28 19:05:26 +00:00
parent fbd913ec62
commit accde2a61c
2 changed files with 3 additions and 1 deletions

View File

@ -189,7 +189,7 @@ endif
if BUILD_C_API
lib_LTLIBRARIES = libprofanity.la
libprofanity_la_LDFLAGS=-avoid-version -shared
libprofanity_la_LDFLAGS=-avoid-version -shared -no-undefined
libprofanity_la_SOURCES = src/plugins/profapi.c
library_includedir=$(includedir)

View File

@ -32,6 +32,8 @@
*
*/
#define _GNU_SOURCE 1
#include <string.h>
#include <assert.h>
#include <stdlib.h>