0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 07:31:03 +08:00

Add <ios> include to fix uClibc++ compilation

Under uClibc++, streamoff is defined in <ios>. This header is needed to fix compilation.
This commit is contained in:
Rosen Penev 2019-04-19 12:16:01 -07:00 committed by GitHub
parent 9067e3ac9d
commit 091e15a28d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,6 +36,7 @@
#include <stdlib.h>
#include <string.h>
#include <algorithm>
#include <ios>
#if __cplusplus >= 201103L || defined(_MSC_VER) && _MSC_VER > 1700
#define ZMQ_HAS_MOVE_SEMANTICS