diff options
Diffstat (limited to 'cpukit/telnetd')
-rw-r--r-- | cpukit/telnetd/check_passwd.c | 4 | ||||
-rw-r--r-- | cpukit/telnetd/des.c | 4 | ||||
-rw-r--r-- | cpukit/telnetd/genpw.c | 13 |
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) { |