[rtems commit] ctermid.c: Fix missing prototype warnings
Joel Sherrill
joel at rtems.org
Sun Sep 22 15:32:20 UTC 2013
Module: rtems
Branch: master
Commit: 59a2b2b251c5d719368ef5a322b75c6cab677559
Changeset: http://git.rtems.org/rtems/commit/?id=59a2b2b251c5d719368ef5a322b75c6cab677559
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Sun Sep 22 10:32:20 2013 -0500
ctermid.c: Fix missing prototype warnings
---
cpukit/libcsupport/src/ctermid.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/cpukit/libcsupport/src/ctermid.c b/cpukit/libcsupport/src/ctermid.c
index 8df70e1..bb47f9c 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";
More information about the vc
mailing list