aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schwab2024-03-30 08:29:52 +0100
committerAndreas Schwab2024-03-30 08:37:11 +0100
commit86c4e5a2fb3fd6b7acb8a3fc10e1e7c2eb8012a9 (patch)
tree3b47dc2fe84a08d86f8269572f0aed3cfced40f9 /src
parent21af3a9d9706baa417298e70260efa3fce72c6f1 (diff)
downloademacs-86c4e5a2fb3fd6b7acb8a3fc10e1e7c2eb8012a9.tar.gz
emacs-86c4e5a2fb3fd6b7acb8a3fc10e1e7c2eb8012a9.zip
Fix implicit declaration of bswap_{32,64}
* src/data.c: Move include of <byteswap.h> ... * src/lisp.h: ... here.
Diffstat (limited to 'src')
-rw-r--r--src/data.c1
-rw-r--r--src/lisp.h1
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/>. */
23#include <math.h> 23#include <math.h>
24#include <stdio.h> 24#include <stdio.h>
25 25
26#include <byteswap.h>
27#include <count-one-bits.h> 26#include <count-one-bits.h>
28#include <count-trailing-zeros.h> 27#include <count-trailing-zeros.h>
29#include <intprops.h> 28#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/>. */
36#endif 36#endif
37 37
38#include <attribute.h> 38#include <attribute.h>
39#include <byteswap.h>
39#include <count-leading-zeros.h> 40#include <count-leading-zeros.h>
40#include <intprops.h> 41#include <intprops.h>
41#include <verify.h> 42#include <verify.h>