maintainer-feedback requested: [Bug 239368] java/openjdk8: fix build on GCC architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 21 20:50:23 UTC 2019


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-java mailing list
<java at FreeBSD.org> for maintainer-feedback:
Bug 239368: java/openjdk8: fix build on GCC architectures
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239368



--- Description ---
In hotspot/agent/src/os/bsd/ps_proc.c move include sys/sysctl.h after include
sys/types.h.

Otherwise build fails with:
/usr/include/sys/sysctl.h:1062: error: expected declaration specifiers or '...'
before 'u_int'


More information about the freebsd-java mailing list