1 $NetBSD: patch-aa,v 1.2 2001/05/09 01:24:33 lukem Exp $
3 Use the right signal handler type.
5 --- xmeter.c 1998/10/30 10:41:09 1.1
6 +++ xmeter.c 1998/10/30 10:41:51
8 #define PORTMAP /* Get right function declarations on Solaris 2 */
10 #include <rpc/pmap_prot.h>
11 +#undef FSHIFT /* Use protocol's shift and scale values */
13 #include <rpcsvc/rstat.h>
15 * We need the definitions of CP_USER, CP_NICE and CP_SYS. Some systems
17 char *name; /* Name of stat for menu widget */
20 -#if defined(SVR4) || defined(sgi)
21 +#if defined(SVR4) || defined(sgi) || (defined(BSD) && BSD >= 199306)