]> git.ipfire.org Git - thirdparty/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 00:56:46 +0000 (01:56 +0100)
* lib/jit/cache.h: On Solaris, include <stddef.h>.

ChangeLog
lib/jit/cache.h

index 39d8dd5d603e6160295a23fb2bef8c045b77773d..73379f0c1bdfa58859b7650c1d3d5e365be4665d 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-25  Bruno Haible  <bruno@clisp.org>
 
        gnulib-tool.py: Print "executing mkdir ..." messages.
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.