--- ./storage/tokudb/ft-index/cmake_modules/TokuSetupCompiler.cmake.orig	2014-10-08 08:19:50.000000000 -0500
+++ ./storage/tokudb/ft-index/cmake_modules/TokuSetupCompiler.cmake	2014-11-01 20:16:04.232537153 -0500
@@ -17,6 +17,7 @@
 if (NOT CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
   ## on FreeBSD these types of macros actually remove functionality
   add_c_defines(
+    _DEFAULT_SOURCE
     _SVID_SOURCE
     _XOPEN_SOURCE=600
     )
