summaryrefslogtreecommitdiffstats
path: root/cpukit/telnetd
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-03-27 15:08:04 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-03-27 15:08:04 +0000
commitddeb7730abc29ffb8b361f301b2f80e826050f8a (patch)
treed45a34d635905be77f752e31ea61c6797dc3718c /cpukit/telnetd
parentremoved typo in uboot size (diff)
downloadrtems-ddeb7730abc29ffb8b361f301b2f80e826050f8a.tar.bz2
2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* libgnat/ada_intrsupp.c, telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: Add include of config.h
Diffstat (limited to 'cpukit/telnetd')
-rw-r--r--cpukit/telnetd/check_passwd.c4
-rw-r--r--cpukit/telnetd/des.c4
-rw-r--r--cpukit/telnetd/genpw.c13
3 files changed, 17 insertions, 4 deletions
diff --git a/cpukit/telnetd/check_passwd.c b/cpukit/telnetd/check_passwd.c
index f541a21b5d..51d08723b8 100644
--- a/cpukit/telnetd/check_passwd.c
+++ b/cpukit/telnetd/check_passwd.c
@@ -57,6 +57,10 @@
* http://www.rtems.com/license/LICENSE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <termios.h>
#include <errno.h>
#include <stdio.h>
diff --git a/cpukit/telnetd/des.c b/cpukit/telnetd/des.c
index faf3310a94..74e4b8e378 100644
--- a/cpukit/telnetd/des.c
+++ b/cpukit/telnetd/des.c
@@ -58,6 +58,10 @@
* alignment).
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#define __FORCE_GLIBC
#include <sys/cdefs.h>
#include <sys/types.h>
diff --git a/cpukit/telnetd/genpw.c b/cpukit/telnetd/genpw.c
index 08c60d626f..1cb30bc684 100644
--- a/cpukit/telnetd/genpw.c
+++ b/cpukit/telnetd/genpw.c
@@ -1,7 +1,3 @@
-#include <crypt.h>
-#include <stdio.h>
-#include <unistd.h>
-
/*
* Authorship
* ----------
@@ -46,6 +42,15 @@
*
* ------------------ SLAC Software Notices, Set 4 OTT.002a, 2004 FEB 03
*/
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <crypt.h>
+#include <stdio.h>
+#include <unistd.h>
+
static void
usage(char *nm)
{