socket_base.hpp:105:35: error: 'va_list' has not been declared
ynezz opened this issue · 1 comments
ynezz commented
This patches tries to fix following compiler error with gcc 4.7.1/uClibc 0.9.33.2
on ARM (OpenWRT):
In file included from device.cpp:51:0:
socket_base.hpp:105:35: error: 'va_list' has not been declared
make[5]: *** [libzmq_la-device.lo] Error 1
diff --git a/src/socket_base.hpp b/src/socket_base.hpp
index 35d2962..f0ee671 100644
--- a/src/socket_base.hpp
+++ b/src/socket_base.hpp
@@ -25,6 +25,7 @@
#include <string>
#include <map>
+#include <cstdarg>
#include "own.hpp"
#include "array.hpp"
--
1.7.9.5
hintjens commented
Hi, to make a change to a stable version please log an issue in the Jira issue tracker, then make a pull request with your commit. It's explained here: http://www.zeromq.org/docs:contributing