--- src/readdir.cpp	2016-02-18 19:03:13.000000000 +0100
+++ src/readdir.cpp	2016-08-06 19:04:39.696672433 +0200
@@ -14,7 +14,7 @@
   OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */
 
-#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
 
 #include <fuse.h>
 
