Stop including <sys/user.h> in userland libraries

This header in this context is freebsdism.
This commit is contained in:
kamil 2017-06-14 12:24:51 +00:00
parent 767ace0885
commit 2d1839db7f
2 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: kvm_aarch64.c,v 1.1 2014/08/10 05:47:37 matt Exp $ */
/* $NetBSD: kvm_aarch64.c,v 1.2 2017/06/14 12:24:51 kamil Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@ -30,7 +30,6 @@
*/
#include <sys/param.h>
#include <sys/user.h>
#include <sys/proc.h>
#include <sys/stat.h>
#include <sys/kcore.h>
@ -49,7 +48,7 @@
#include "kvm_private.h"
__RCSID("$NetBSD: kvm_aarch64.c,v 1.1 2014/08/10 05:47:37 matt Exp $");
__RCSID("$NetBSD: kvm_aarch64.c,v 1.2 2017/06/14 12:24:51 kamil Exp $");
/*ARGSUSED*/
void

View File

@ -2,10 +2,9 @@
#ifdef __FBSDID
__FBSDID("$FreeBSD: head/lib/libutil/kinfo_getvmmap.c 186512 2008-12-27 11:12:23Z rwatson $");
#endif
__RCSID("$NetBSD: kinfo_getvmmap.c,v 1.3 2015/09/26 20:28:55 christos Exp $");
__RCSID("$NetBSD: kinfo_getvmmap.c,v 1.4 2017/06/14 12:24:51 kamil Exp $");
#include <sys/param.h>
#include <sys/user.h>
#include <sys/sysctl.h>
#include <stdlib.h>
#include <string.h>