
bowman at math
May 3, 2012, 7:47 AM
Views: 440
Permalink
|
|
Portablility patch for openssh 6.0p1 configure.ac
|
|
The following patch corrects a portablility issue when compiling openssh 6.0p1 on MirOS (aka. mirbsd). The issue is: sftp-server.c: In function `send_statvfs': sftp-server.c:510: error: request for member `val' in something not a structure or union sftp-server.c:510: error: request for member `val' in something not a structure or union The patch is: --- configure.ac.orig 2012-04-19 05:46:38.000000000 -0600 +++ configure.ac 2012-05-03 08:25:49.429260884 -0600 @@ -3236,6 +3236,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <sys/types.h> #include <sys/stat.h> +#include <sys/param.h> #ifdef HAVE_SYS_TIME_H # include <sys/time.h> #endif Thanks, Pieter _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev [at] mindrot https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
|