aboutsummaryrefslogtreecommitdiff
path: root/src/compat
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-08-08 14:55:46 +0200
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-08-08 16:03:40 +0200
commitfaab76c1c01e6d3fff8ac1bc71baeecd8846dc32 (patch)
tree76a46762b3cae89771203f4ff6b97d5d11e20ed9 /src/compat
parentfa0a60dd93e4485c1f62ffcc87fa9e6b195ce795 (diff)
downloadbitcoin-faab76c1c01e6d3fff8ac1bc71baeecd8846dc32.tar.xz
iwyu on torcontrol
Diffstat (limited to 'src/compat')
-rw-r--r--src/compat/compat.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h
index 8195bceaec..f1c4dedc04 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -22,19 +22,19 @@
#include <ws2tcpip.h>
#include <cstdint>
#else
-#include <fcntl.h>
-#include <sys/mman.h>
-#include <sys/select.h>
-#include <sys/socket.h>
-#include <sys/types.h>
-#include <net/if.h>
-#include <netinet/in.h>
-#include <netinet/tcp.h>
-#include <arpa/inet.h>
-#include <ifaddrs.h>
+#include <fcntl.h>// IWYU pragma: export
+#include <sys/mman.h>// IWYU pragma: export
+#include <sys/select.h>// IWYU pragma: export
+#include <sys/socket.h>// IWYU pragma: export
+#include <sys/types.h>// IWYU pragma: export
+#include <net/if.h>// IWYU pragma: export
+#include <netinet/in.h>// IWYU pragma: export
+#include <netinet/tcp.h>// IWYU pragma: export
+#include <arpa/inet.h>// IWYU pragma: export
+#include <ifaddrs.h>// IWYU pragma: export
#include <limits.h>
-#include <netdb.h>
-#include <unistd.h>
+#include <netdb.h>// IWYU pragma: export
+#include <unistd.h>// IWYU pragma: export
#endif
// We map Linux / BSD error functions and codes, to the equivalent