summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/libgnat/ada_intrsupp.c15
-rw-r--r--cpukit/telnetd/check_passwd.c4
-rw-r--r--cpukit/telnetd/des.c4
-rw-r--r--cpukit/telnetd/genpw.c13
5 files changed, 37 insertions, 4 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 7faa4bcab4..ac3f4759b4 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,8 @@
+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
+
2010-03-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/termios_baud2index.c,
diff --git a/cpukit/libgnat/ada_intrsupp.c b/cpukit/libgnat/ada_intrsupp.c
index 8cb4ab339f..5f9c19281f 100644
--- a/cpukit/libgnat/ada_intrsupp.c
+++ b/cpukit/libgnat/ada_intrsupp.c
@@ -1,3 +1,18 @@
+/*
+ * COPYRIGHT (c) 1989-2010.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <rtems.h>
#include <rtems/bspIo.h>
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)
{