[patch] to libf2c: #include <sys/param.h> to get the clock tick rate

Michael Sokolov msokolov@ivan.Harhan.ORG
Sun Jan 21 15:27:00 GMT 2001


Hi there,

The patch below is also needed for libf2c to build on 4.3BSD. You have to
#include <sys/param.h> to get the clock tick rate definition.

This patch applies over my previous one. libf2c built on vax-dec-bsd with this
patch, the previous one, and one more to follow.

-- 
Michael Sokolov
Public Service Agent
International Engineering and Science Task Force

1351 VINE AVE APT 27		Phone: +1-714-738-5409
FULLERTON CA 92833-4291 USA	(home office)

E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP)

2001-01-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>

	* libU77/sys_clock_.c: #include <sys/param.h> for the clock tick rate.

*** libU77/sys_clock_.c.1	Sun Jan 21 15:23:37 2001
--- libU77/sys_clock_.c	Sun Jan 21 13:22:52 2001
***************
*** 20,25 ****
--- 20,28 ----
  #include "config.h"
  #endif
  #include <sys/types.h>
+ #if HAVE_SYS_PARAM_H
+ # include <sys/param.h>
+ #endif
  #if TIME_WITH_SYS_TIME
  # include <sys/time.h>
  # include <time.h>


More information about the Gcc-patches mailing list