Mercurial > dropbear
diff includes.h @ 299:740e782679be ucc-axis-hack
Various changes to compile+kind of run on UCC's axis board.
Note that fprintf(stdin -> printf( accounts for many of the changes
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 25 Mar 2006 12:57:09 +0000 |
parents | a3a68c25035e |
children |
line wrap: on
line diff
--- a/includes.h Fri Dec 09 06:10:27 2005 +0000 +++ b/includes.h Sat Mar 25 12:57:09 2006 +0000 @@ -50,15 +50,15 @@ #include <string.h> #include <termios.h> #include <unistd.h> +// from unistd.h +#define MAXNAMLEN 1024 #include <syslog.h> #include <netdb.h> #include <ctype.h> #include <stdarg.h> #include <dirent.h> -#ifdef HAVE_UTMP_H #include <utmp.h> -#endif #ifdef HAVE_UTMPX_H #include <utmpx.h> @@ -86,9 +86,7 @@ #include <netinet/ip.h> -#ifdef HAVE_NETINET_TCP_H #include <netinet/tcp.h> -#endif #ifdef HAVE_INTTYPES_H #include <inttypes.h> @@ -115,7 +113,7 @@ #endif #ifdef HAVE_LIBGEN_H -#include <libgen.h> +//#include <libgen.h> #endif #include "libtomcrypt/src/headers/tomcrypt.h" @@ -128,7 +126,7 @@ #ifndef HAVE_U_INT16_T typedef unsigned short u_int16_t; #endif /* HAVE_U_INT16_T */ -typedef u_int16_t uint16_t; +// typedef u_int16_t uint16_t; #endif /* HAVE_UINT16_T */ #ifndef LOG_AUTHPRIV