]> Savannah Git Hosting - gnulib.git/commitdiff
jit/cache: Fix a compilation error on Solaris 11.4/SPARC.
authorBruno Haible <bruno@clisp.org>
Tue, 26 Mar 2024 00:56:46 +0000 (01:56 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 26 Mar 2024 22:34:38 +0000 (23:34 +0100)
* lib/jit/cache.h: On Solaris, include <stddef.h>.

ChangeLog
lib/jit/cache.h

index 5f1eec3d1288e2710084dd7791a3f3dc069ffafe..014eba25df5779967d94fc1c4200d4a83cbe25e4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-03-25  Bruno Haible  <bruno@clisp.org>
+
+       jit/cache: Fix a compilation error on Solaris 11.4/SPARC.
+       * lib/jit/cache.h: On Solaris, include <stddef.h>.
+
 2024-03-10  Collin Funk  <collin.funk1@gmail.com>
 
        gnulib-tool: Don't remove comments referencing @NMD@, part 2.
index f9da28125e41bed54799b5bf01f93a1b5915440b..db00627ee32a3c4d0797efbcef0722535de379ea 100644 (file)
@@ -34,6 +34,9 @@
 #if defined __sgi
 # include <sys/cachectl.h>
 #endif
+#if defined __sun
+# include <stddef.h>
+#endif
 
 /* Clears the instruction cache for addresses
    start <= address < end.