Resolver changes broke AIX & HPUX
Darren Tucker
dtucker at zip.com.au
Thu May 15 21:35:59 EST 2003
Darren Tucker wrote:
> gcc [opts] ../session.c
> ../session.c: In function `session_break_req':
> ../session.c:1758: `TIOCSBRK' undeclared (first use in this function)
> ../session.c:1758: (Each undeclared identifier is reported only once
> ../session.c:1758: for each function it appears in.)
> ../session.c:1761: `TIOCCBRK' undeclared (first use in this function)
> make: *** [session.o] Error 1
TIOCSBRK seems to be defined in <sys/strtio.h> on HP-UX.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/configure.ac,v
retrieving revision 1.120
diff -u -r1.120 configure.ac
--- configure.ac 15 May 2003 02:27:08 -0000 1.120
+++ configure.ac 15 May 2003 11:20:14 -0000
@@ -445,7 +445,7 @@
login_cap.h maillock.h netdb.h netgroup.h \
netinet/in_systm.h paths.h pty.h readpassphrase.h \
rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \
- strings.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h \
+ strings.h sys/strtio.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h \
sys/mman.h sys/pstat.h sys/select.h sys/stat.h \
sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \
sys/un.h time.h tmpdir.h ttyent.h usersec.h \
Index: includes.h
===================================================================
RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/includes.h,v
retrieving revision 1.62
diff -u -r1.62 includes.h
--- includes.h 4 May 2003 00:41:20 -0000 1.62
+++ includes.h 15 May 2003 11:23:36 -0000
@@ -133,6 +133,9 @@
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h> /* for MAP_ANONYMOUS */
#endif
+#ifdef HAVE_SYS_STRTIO_H
+#include <sys/strtio.h> /* for TIOCCBRK on HP-UX */
+#endif
#include <netinet/in_systm.h> /* For typedefs */
#include <netinet/in.h> /* For IPv6 macros */
More information about the openssh-unix-dev
mailing list