v4.4p1: compile fix

ThMO thmo-13 at gmx.de
Sun Oct 15 21:55:00 EST 2006


Hello,

I've attached a small unified diff fixing a compilation problem
under linux v2.0.35:

· monitor_fdpass.c:
  <sys/un.h> need to be included in order to get the structures
  fro cmsg... defined.

· --with-mantype=man
  I would prefer this to be the default, but YMMV.

THX for listening.

CU Tom.
(Thomas M.Ott)
Germany
-------------- next part --------------
--- openssh-4.4p1/monitor_fdpass.c.orig	2006-08-05 04:39:40.000000000 +0200
+++ openssh-4.4p1/monitor_fdpass.c	2006-10-15 13:10:51.000000000 +0200
@@ -29,7 +29,9 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/uio.h>
-
+#ifdef	__linux__	/* (ThMO) */
+  #include <sys/un.h>	/* for cmsg... -- linux 2.0.35 (ThMO) */
+#endif
 #include <errno.h>
 #include <string.h>
 #include <stdarg.h>


More information about the openssh-unix-dev mailing list