summaryrefslogtreecommitdiffstats
path: root/cpukit/telnetd/genpw.c
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/genpw.c
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/genpw.c')
-rw-r--r--cpukit/telnetd/genpw.c13
1 files changed, 9 insertions, 4 deletions
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)
{