--- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt index cb2f420..2d322a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,7 @@ SET(UBUS_MAX_MSGLEN 1048576) ADD_DEFINITIONS( -DUBUS_UNIX_SOCKET="${UBUS_UNIX_SOCKET}") ADD_DEFINITIONS( -DUBUS_MAX_MSGLEN=${UBUS_MAX_MSGLEN}) +ADD_DEFINITIONS( -D_GNU_SOURCE ) IF(APPLE) INCLUDE_DIRECTORIES(/opt/local/include) -- 1.8.4.5 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel