summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-09-22 10:32:20 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-09-22 10:32:20 -0500
commit59a2b2b251c5d719368ef5a322b75c6cab677559 (patch)
treef852eae9b431ae90cd20f9d181ba0eaad1a6deb8
parentgetpwent.c: Fix missing prototype warnings (diff)
downloadrtems-59a2b2b251c5d719368ef5a322b75c6cab677559.tar.bz2
ctermid.c: Fix missing prototype warnings
-rw-r--r--cpukit/libcsupport/src/ctermid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/ctermid.c b/cpukit/libcsupport/src/ctermid.c
index 8df70e1263..bb47f9c350 100644
--- a/cpukit/libcsupport/src/ctermid.c
+++ b/cpukit/libcsupport/src/ctermid.c
@@ -23,6 +23,7 @@
#include <stdio.h>
#include <string.h>
+#include <sys/unistd.h>
static char *ctermid_name = "/dev/console";