~ubuntu-branches/ubuntu/utopic/dropbear/utopic-proposed

« back to all changes in this revision

Viewing changes to includes.h

  • Committer: Bazaar Package Importer
  • Author(s): Matt Johnston
  • Date: 2005-12-08 19:20:21 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051208192021-nyp9rwnt77nsg6ty
Tags: 0.47-1
* New upstream release.
* SECURITY: Fix incorrect buffer sizing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
#include <fcntl.h>
45
45
#include <grp.h>
46
46
#include <limits.h>
47
 
#include <netinet/in.h>
48
47
#include <pwd.h>
49
48
#include <signal.h>
50
49
#include <stdlib.h>
57
56
#include <stdarg.h>
58
57
#include <dirent.h>
59
58
 
60
 
#include <arpa/inet.h>
61
 
 
62
59
#ifdef HAVE_UTMP_H
63
60
#include <utmp.h>
64
61
#endif
75
72
#include <lastlog.h>
76
73
#endif
77
74
 
 
75
#include <arpa/inet.h>
 
76
 
78
77
#ifdef HAVE_NETINET_IN_H
79
78
#include <netinet/in.h>
80
79
#endif
81
80
 
 
81
/* netbsd 1.6 needs this to be included before netinet/ip.h for some
 
82
 * undocumented reason */
 
83
#ifdef HAVE_NETINET_IN_SYSTM_H
 
84
#include <netinet/in_systm.h>
 
85
#endif
 
86
 
 
87
#include <netinet/ip.h>
 
88
 
82
89
#ifdef HAVE_NETINET_TCP_H
83
90
#include <netinet/tcp.h>
84
91
#endif
111
118
#include <libgen.h>
112
119
#endif
113
120
 
114
 
#include "libtomcrypt/mycrypt.h"
 
121
#include "libtomcrypt/src/headers/tomcrypt.h"
115
122
#include "libtommath/tommath.h"
116
123
 
117
124
#include "compat.h"
128
135
#define LOG_AUTHPRIV LOG_AUTH
129
136
#endif
130
137
 
 
138
/* glibc 2.1.3 systems have sockaddr_storage.__ss_family rather than
 
139
 * sockaddr_storage.ss_family */
 
140
#if !defined(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY) \
 
141
    && defined(HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY)
 
142
#define ss_family __ss_family
 
143
#endif
 
144
 
131
145
/* so we can avoid warnings about unused params (ie in signal handlers etc) */
132
146
#ifdef UNUSED 
133
147
#elif defined(__GNUC__)