summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2006-10-06 01:43:22 +0000
committerRich Felker <dalias@aerifal.cx>2006-10-06 01:43:22 +0000
commit5d7d6254801074b754d3917fbd707d137edef59d (patch)
tree69f181a9b315c188fb8457f03a5429f730eff41b
parent28b12662b9815344c9abd7cd938e23921197e308 (diff)
get prototypes for pty functions (needed on 64bit for ptsname!)
-rw-r--r--tty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tty.c b/tty.c
index a430f0f..b9edca2 100644
--- a/tty.c
+++ b/tty.c
@@ -1,5 +1,7 @@
/* uuterm, Copyright (C) 2006 Rich Felker; licensed under GNU GPL v2 only */
+#define _XOPEN_SOURCE 500
+
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>