Files
nixpkgs/pkgs/by-name/da/dante/clang-osint-m4.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

28 lines
669 B
Diff

diff -ur a/osdep.m4 b/osdep.m4
--- a/osdep.m4 2024-11-20 08:07:22.000000000 +1100
+++ b/osdep.m4 2024-12-16 20:39:15.424935602 +1100
@@ -381,6 +381,7 @@
unset have_sa_len
AC_MSG_CHECKING([for sa_len in sockaddr])
AC_TRY_COMPILE([
+#include <stdint.h>
#include <sys/types.h>
#include <sys/socket.h>
], [struct sockaddr sa;
@@ -397,6 +398,7 @@
unset sa_len_type_found
for type in uint8_t "unsigned char"; do
AC_TRY_COMPILE([
+#include <stdint.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <stdio.h>], [
@@ -640,6 +642,7 @@
in_port_t, in_addr_t],
, ,
[
+#include <stdint.h>
#include <sys/types.h>
#include <netinet/in.h>
])