aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Sarenik <[email protected]>2018-01-12 11:21:47 +0000
committerJan Sarenik <[email protected]>2018-01-12 11:22:54 +0000
commit648bdc8cc09c85748967b86347bbc7825e339d5f (patch)
tree6c07b4941e87cb4548befc641f819a16c6353a54
parentMerge #12082: Adding test case for SINGLE|ANYONECANPAY hash type in tx_valid.... (diff)
downloaddiscoin-648bdc8cc09c85748967b86347bbc7825e339d5f.tar.xz
discoin-648bdc8cc09c85748967b86347bbc7825e339d5f.zip
Trivial: Fix #include sys/fcntl.h to just fcntl.h (without sys/)
http://pubs.opengroup.org/onlinepubs/009695399/functions/fcntl.html http://man7.org/linux/man-pages/man2/fcntl.2.html
-rw-r--r--src/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat.h b/src/compat.h
index 65e9683e2..aae84b118 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>