chiark / gitweb /
pathmtu/pathmtu.c: Don't explicitly set `_BSD_SOURCE'.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 9 Jul 2017 18:34:57 +0000 (19:34 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 9 Jul 2017 18:34:57 +0000 (19:34 +0100)
I have a bit set that this was necessary for some reason, but it doesn't
seem to be based on a brief inspection of wheezy's <features.h>, and
stretch's version warns that `_BSD_SOURCE' is now deprecated, because
nothing is allowed to remain stable.

pathmtu/pathmtu.c

index 9516cd2e21c2b8ce011f3d6db929fce1daa6d1b6..49c6713364038274575d64d8b48b15498ee7d803 100644 (file)
 
 /*----- Header files ------------------------------------------------------*/
 
 
 /*----- Header files ------------------------------------------------------*/
 
-#if defined(linux)
-#  define _BSD_SOURCE
-#endif
-
 #include "config.h"
 
 #include <assert.h>
 #include "config.h"
 
 #include <assert.h>