hack to get around compile problem on HPs when running in ANSI mode
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Mon, 24 Apr 1995 11:28:23 +0000 (03:28 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Mon, 24 Apr 1995 11:28:23 +0000 (03:28 -0800)
SCCS-vsn: usr.sbin/sendmail/src/conf.c 8.155

usr/src/usr.sbin/sendmail/src/conf.c

index 0b6e04b..6163d44 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)conf.c     8.154 (Berkeley) %G%";
+static char sccsid[] = "@(#)conf.c     8.155 (Berkeley) %G%";
 #endif /* not lint */
 
 # include "sendmail.h"
 #endif /* not lint */
 
 # include "sendmail.h"
@@ -1205,6 +1205,8 @@ getla()
 #else
 # ifdef __hpux
 
 #else
 # ifdef __hpux
 
+struct pst_dynamic;
+
 #  include <sys/param.h>
 #  include <sys/pstat.h>
 
 #  include <sys/param.h>
 #  include <sys/pstat.h>
 
@@ -1214,7 +1216,7 @@ getla()
        struct pst_dynamic pstd;
 
        if (pstat_getdynamic(&pstd, sizeof(struct pst_dynamic),
        struct pst_dynamic pstd;
 
        if (pstat_getdynamic(&pstd, sizeof(struct pst_dynamic),
-                            (size_t) 1 ,0) == -1)
+                            (size_t) 10) == -1)
                return 0;
 
         if (tTd(3, 1))
                return 0;
 
         if (tTd(3, 1))