diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 827ad571c9..9261ccd367 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -60,6 +60,7 @@ (define-module (gnu packages java) #:use-module (gnu packages elf) #:use-module (gnu packages fontutils) #:use-module (gnu packages gawk) + #:use-module (gnu packages gcc) #:use-module (gnu packages gettext) #:use-module (gnu packages gl) #:use-module (gnu packages ghostscript) ;lcms @@ -13005,7 +13006,8 @@ (define-public java-native-access ("libx11" ,libx11) ("libxt" ,libxt))) (native-inputs - `(("java-junit" ,java-junit) + `(("gcc" ,gcc-7) + ("java-junit" ,java-junit) ("java-hamcrest-core" ,java-hamcrest-core))) (home-page "https://github.com/java-native-access/jna") (synopsis "Access to native shared libraries from Java")