Skip to content
This repository has been archived by the owner on Jul 31, 2021. It is now read-only.

Commit

Permalink
Merge pull request #90 from tnn2/sys-user_h-removal
Browse files Browse the repository at this point in the history
<sys/user.h> was removed from NetBSD
  • Loading branch information
battleblow authored Oct 15, 2019
2 parents d2b2fce + 81ec8e5 commit f757ae2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/hotspot/os/bsd/os_perf_bsd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
#include <mach/mach.h>
#include <mach/task_info.h>
#else
#include <sys/user.h>
#ifndef __NetBSD__
#include <sys/user.h>
#endif
#include <sys/sched.h>
#include <sys/resource.h>
#define NET_RT_IFLIST2 NET_RT_IFLIST
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
#include <sys/types.h>
#include <sys/sysctl.h>
#include <sys/time.h>
#include <sys/user.h>
#ifndef __NetBSD__
#include <sys/user.h>
#endif
#include <unistd.h>

#include "jvm.h"
Expand Down

0 comments on commit f757ae2

Please sign in to comment.