|
Lines 1168-1206
Link Here
|
| 1168 |
{ |
1168 |
{ |
| 1169 |
int ndelay; |
1169 |
int ndelay; |
| 1170 |
Notify_error return_code; |
1170 |
Notify_error return_code; |
| 1171 |
diff -rc ../old/xview3.2p1-X11R6/lib/libxview/notify/ntfy.h ./lib/libxview/notify/ntfy.h |
|
|
| 1172 |
*** ../old/xview3.2p1-X11R6/lib/libxview/notify/ntfy.h Tue Jun 29 01:18:14 1993 |
| 1173 |
--- ./lib/libxview/notify/ntfy.h Sun Nov 20 13:39:05 1994 |
| 1174 |
*************** |
| 1175 |
*** 22,27 **** |
| 1176 |
--- 22,31 ---- |
| 1177 |
#include <sys/rusage.h> |
| 1178 |
#endif |
| 1179 |
#include <sys/resource.h> |
| 1180 |
+ #if (defined(BSD) && (BSD >= 199103)) |
| 1181 |
+ #include <sys/wait.h> |
| 1182 |
+ #include <sys/signal.h> |
| 1183 |
+ #endif |
| 1184 |
#include <xview/notify.h> |
| 1185 |
|
| 1186 |
/* |
| 1187 |
*************** |
| 1188 |
*** 149,155 **** |
| 1189 |
*/ |
| 1190 |
typedef struct ntfy_wait3_data { |
| 1191 |
int pid; /* Process waiting for */ |
| 1192 |
! #ifndef SVR4 |
| 1193 |
union wait status; /* Return value from wait3 */ |
| 1194 |
#else SVR4 |
| 1195 |
int status; /* Return value from wait3 */ |
| 1196 |
--- 153,159 ---- |
| 1197 |
*/ |
| 1198 |
typedef struct ntfy_wait3_data { |
| 1199 |
int pid; /* Process waiting for */ |
| 1200 |
! #if !defined(SVR4) && !(defined(BSD) && (BSD >= 199103)) |
| 1201 |
union wait status; /* Return value from wait3 */ |
| 1202 |
#else SVR4 |
| 1203 |
int status; /* Return value from wait3 */ |
| 1204 |
diff -rc ../old/xview3.2p1-X11R6/lib/libxview/notify/ntfy_test.c ./lib/libxview/notify/ntfy_test.c |
1171 |
diff -rc ../old/xview3.2p1-X11R6/lib/libxview/notify/ntfy_test.c ./lib/libxview/notify/ntfy_test.c |
| 1205 |
*** ../old/xview3.2p1-X11R6/lib/libxview/notify/ntfy_test.c Tue Jun 29 01:18:12 1993 |
1172 |
*** ../old/xview3.2p1-X11R6/lib/libxview/notify/ntfy_test.c Tue Jun 29 01:18:12 1993 |
| 1206 |
--- ./lib/libxview/notify/ntfy_test.c Sun Nov 20 13:39:05 1994 |
1173 |
--- ./lib/libxview/notify/ntfy_test.c Sun Nov 20 13:39:05 1994 |