diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2024-03-30 08:29:52 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2024-03-30 08:37:11 +0100 |
commit | 86c4e5a2fb3fd6b7acb8a3fc10e1e7c2eb8012a9 (patch) | |
tree | 3b47dc2fe84a08d86f8269572f0aed3cfced40f9 | |
parent | 21af3a9d9706baa417298e70260efa3fce72c6f1 (diff) | |
download | emacs-86c4e5a2fb3fd6b7acb8a3fc10e1e7c2eb8012a9.tar.gz |
Fix implicit declaration of bswap_{32,64}
* src/data.c: Move include of <byteswap.h> ...
* src/lisp.h: ... here.
-rw-r--r-- | src/data.c | 1 | ||||
-rw-r--r-- | src/lisp.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/data.c b/src/data.c index a86f86c52f5..c4b9cff8ae0 100644 --- a/src/data.c +++ b/src/data.c @@ -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> diff --git a/src/lisp.h b/src/lisp.h index 6226ab33244..f066c876619 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -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> |