summaryrefslogtreecommitdiffstats
path: root/src/dom/io/socket.cpp
diff options
context:
space:
mode:
authorRalf Stephan <ralf@ark.in-berlin.de>2006-07-13 09:45:29 +0000
committerrwst <rwst@users.sourceforge.net>2006-07-13 09:45:29 +0000
commit82eabdd0bd1f4de84f500ee1d9367465454e3e74 (patch)
tree518cc5283eb33313d6beb84dc0e28204e8bacea7 /src/dom/io/socket.cpp
parentgive _anchor initial value before comparing it (diff)
downloadinkscape-82eabdd0bd1f4de84f500ee1d9367465454e3e74.tar.gz
inkscape-82eabdd0bd1f4de84f500ee1d9367465454e3e74.zip
check for <sys/filio.h> to get FIONREAD on Solaris 8 (fixes part of #1516476)
(bzr r1402)
Diffstat (limited to 'src/dom/io/socket.cpp')
-rw-r--r--src/dom/io/socket.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dom/io/socket.cpp b/src/dom/io/socket.cpp
index 30d5829fd..31eeb56ba 100644
--- a/src/dom/io/socket.cpp
+++ b/src/dom/io/socket.cpp
@@ -27,6 +27,14 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#ifdef HAVE_SYS_FILIO_H
+#include <sys/filio.h> // needed on Solaris 8
+#endif
+
#include "socket.h"
#include "dom/util/thread.h"