]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix implicit declaration of bswap_{32,64}
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 30 Mar 2024 07:29:52 +0000 (08:29 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sat, 30 Mar 2024 19:36:49 +0000 (20:36 +0100)
* src/data.c: Move include of <byteswap.h> ...
* src/lisp.h: ... here.

(cherry picked from commit 86c4e5a2fb3fd6b7acb8a3fc10e1e7c2eb8012a9)

src/data.c
src/lisp.h

index a86f86c52f5ec1696bcd1f7d3dc643857d57eb8d..c4b9cff8ae0668a0f3c49bb20f5f9bf52fc2bee0 100644 (file)
@@ -23,7 +23,6 @@ along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.  */
 #include <math.h>
 #include <stdio.h>
 
-#include <byteswap.h>
 #include <count-one-bits.h>
 #include <count-trailing-zeros.h>
 #include <intprops.h>
index 6226ab332447c35cc84635b2cfdb14cdf0e07dea..f066c87661960f0cb36c9903e49721e3cc2ba211 100644 (file)
@@ -36,6 +36,7 @@ along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.  */
 #endif
 
 #include <attribute.h>
+#include <byteswap.h>
 #include <count-leading-zeros.h>
 #include <intprops.h>
 #include <verify.h>