1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

fix build on 5.x

Submitted by:	MAINTAINER
This commit is contained in:
Max Khon 2003-04-10 09:46:22 +00:00
parent dbfd95a8ec
commit 5cc4c102ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78696

View File

@ -18,15 +18,21 @@
* Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
*/
#include <osreldate.h>
#if __FreeBSD_version > 500100
#include <sys/time.h>
#include <sys/resource.h>
#else
#include <sys/dkstat.h>
#endif
#include <sys/types.h>
#include <fcntl.h>
#include <kvm.h>
#include <nlist.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <kvm.h>
#include <nlist.h>
#include <fcntl.h>
#include <sys/dkstat.h>
static kvm_t *kd;
static struct nlist nlst[] = { {"_cp_time"}, {0} };