Commit c729c282 authored by Jeremy C. Reed's avatar Jeremy C. Reed
Browse files

include stdlib.h for malloc and free

include unistd.h for IPC/network calls for ASIO
Noticed on Solaris using Sunstudio.
Trac ticket #270.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2391 e5f2f494-b856-4b98-b285-d166d9295462
parent 0fa92078
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
#include "config.h" #include "config.h"
// for some IPC/network system calls in asio/detail/pipe_select_interrupter.hpp
#include <unistd.h>
// XXX: the ASIO header must be included before others. See session.cc. // XXX: the ASIO header must be included before others. See session.cc.
#include <asio.hpp> #include <asio.hpp>
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/uio.h> #include <sys/uio.h>
#include <stdlib.h> // for malloc and free
#include "fd_share.h" #include "fd_share.h"
namespace isc { namespace isc {
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#include <cstring> #include <cstring>
#include <iostream> #include <iostream>
// for some IPC/network system calls in asio/detail/pipe_select_interrupter.hpp
#include <unistd.h>
#include <asio.hpp> #include <asio.hpp>
#include "fd_share.h" #include "fd_share.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment