aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-01-13 09:32:33 -0500
committerMarcoFalke <falke.marco@gmail.com>2018-01-13 09:32:41 -0500
commit45cf8a03cb57b8639a8d47323bde46ba22d9eeaf (patch)
treebcebb1ca35b74d5ce9eed2957c32aaf5f7b07176
parentb7450cdbd89a1c862f4d4d8bf093f8a0b5448f9c (diff)
parent648bdc8cc09c85748967b86347bbc7825e339d5f (diff)
downloadbitcoin-45cf8a03cb57b8639a8d47323bde46ba22d9eeaf.tar.xz
Merge #12168: Trivial: Fix #include sys/fcntl.h to just fcntl.h (without sys/)
648bdc8cc0 Trivial: Fix #include sys/fcntl.h to just fcntl.h (without sys/) (Jan Sarenik) Pull request description: http://pubs.opengroup.org/onlinepubs/009695399/functions/fcntl.html http://man7.org/linux/man-pages/man2/fcntl.2.html Tree-SHA512: 82c7e0aba55f34a6fec60bdecb712b65c84422461454f0ae9eed5e1bb31bf585c5a65f49bbdd5a89feb59140a998ad6fcd5573ede123a12b2ba2ff677d95cc2b
-rw-r--r--src/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat.h b/src/compat.h
index 65e9683e2f..aae84b1181 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -33,7 +33,7 @@
#include <ws2tcpip.h>
#include <stdint.h>
#else
-#include <sys/fcntl.h>
+#include <fcntl.h>
#include <sys/mman.h>
#include <sys/select.h>
#include <sys/socket.h>