Added -D_GNU_SOURCE flag for strdup.

This commit is contained in:
Håvard Pettersson 2014-09-02 23:16:19 +02:00
parent fdccf7b7af
commit 886e0b5217

View file

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 2.8.7)
project(tox-weechat)
add_definitions(-std=c99)
add_definitions(-std=c99 -D_GNU_SOURCE)
add_library(tox SHARED
src/tox-weechat.c