わたなべです. aito / raven.bu.edu <aito / raven.bu.edu> writes: :メジャーなプラットフォームについては(たぶん)自動でコンパイル :できると思うのですが,Solaris2 でしか試していません(^_^;. :できるだけいろんな方に試していただくと嬉しいです. Linux で試しました. いいっすね. signal.h は必ず include してもいい気がするんですけど, いかがでしょう? SIGHOGE がエラーになってしまう. たぶん Linux だけでなく他のプラットフォームでも同じだと思います. とりあえずこんな感じにしてます. linux.h はすでに config.h にあるから削りました.
--- configs/linux.h.orig Fri Oct 16 03:13:54 1998 +++ configs/linux.h Thu Oct 29 10:11:05 1998 @@ -5,8 +5,3 @@ #define LINUX #define SYSV #define TERMIOS - -#define HAVE_SETENV -#define NO_VFORK - -#define HAVE_SETREUID --- pty.c.orig Wed Oct 28 23:52:26 1998 +++ pty.c Thu Oct 29 09:51:14 1998 @@ -27,8 +27,8 @@ #ifdef SYSV extern struct passwd *getpwent(), *getpwuid(), *getpwnam(); #endif -#if defined(SVR4) && !defined(IRIX) #include <signal.h> +#if defined(SVR4) && !defined(IRIX) #include <sys/stropts.h> #endif