aboutsummaryrefslogtreecommitdiff
path: root/text.c
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2014-09-19 13:54:45 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-19 14:04:22 +0200
commitf01457b003d3b0d996f1f2e97112015b8df26fdb (patch)
treed25ccb634ac652eb7915694d3549638648521009 /text.c
parent43a4ad606d2bed35bdb418bffe42d885f57c042b (diff)
downloadvis-f01457b003d3b0d996f1f2e97112015b8df26fdb.tar.gz
vis-f01457b003d3b0d996f1f2e97112015b8df26fdb.tar.xz
This fixes warning with latest glibc (>= 2.19.90), which deprecated _BSD_SOURCE
warning: _BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE Commit 4f537d8e4bd9707a0048289f296510b76ce6d642 just fixed one of three cases. Fix the remaining.
Diffstat (limited to 'text.c')
-rw-r--r--text.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/text.c b/text.c
index 58ded1d..e613ccb 100644
--- a/text.c
+++ b/text.c
@@ -13,6 +13,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#define _DEFAULT_SOURCE
#define _BSD_SOURCE
#include <unistd.h>
#include <stdio.h>