#include was removed from includes.h in July:

----------------------------
revision 1.113
date: 2006/07/12 12:22:46; author: dtucker; state: Exp; lines: +1 -2
- stevesk@cvs.openbsd.org 2006/07/11 20:07:25
[scp.c auth.c monitor.c serverloop.c sftp-server.c sshpty.c readpass.c
sshd.c monitor_wrap.c monitor_fdpass.c ssh-agent.c ttymodes.c atomicio=
..c
includes.h session.c sshlogin.c monitor_mm.c packet.c sshconnect2.c
sftp-client.c nchan.c clientloop.c sftp.c misc.c canohost.c channels.c
ssh-keygen.c progressmeter.c uidswap.c msg.c readconf.c sshconnect.c]
move #include out of includes.h; ok markus@
----------------------------

However, it was never added to audit-bsm.c, which references errno
twice:

cc -O2 -pipe -march=3Dpentium4 -I/usr/src/secure/usr.sbin/sshd/../../../cry=
pto/openssh -include ssh_namespace.h -DUSE_BSM_AUDIT -DGSSAPI -DHAVE_GSSAPI=
_GSSAPI_H=3D1 -DKRB5 -DHEIMDAL -DXAUTH_PATH=3D\"/usr/X11R6/bin/xauth\" -DNO=
_IDEA -g -c /usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/audit-bs=
m.c
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/audit-bsm.c: In funct=
ion `bsm_audit_record':
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/audit-bsm.c:175: erro=
r: `errno' undeclared (first use in this function)
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/audit-bsm.c:175: erro=
r: (Each undeclared identifier is reported only once
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/audit-bsm.c:175: erro=
r: for each function it appears in.)
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/audit-bsm.c: In funct=
ion `bsm_audit_session_setup':
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/audit-bsm.c:208: erro=
r: `errno' undeclared (first use in this function)
*** Error code 1

Stop in /usr/src/secure/usr.sbin/sshd.
*** Error code 1

Stop in /usr/src/secure/usr.sbin.
*** Error code 1

Stop in /usr/src/secure.

DES
-- =

Dag-Erling Sm=F8rgrav - des@des.no
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/lis...enssh-unix-dev