| Submitter | Izumi Tsutsui |
|---|---|
| Date | Aug. 8, 2010, 9:31 a.m. |
| Message ID | <1281259864-16103-1-git-send-email-tsutsui@ceres.dti.ne.jp> |
| Download | mbox | patch |
| Permalink | /patch/61222/ |
| State | New |
| Headers | show |
Comments
Am 08.08.2010 11:31, schrieb Izumi Tsutsui: > "qemu_socket.h" includes all necessary files and > including <netinet/tcp.h> without <netinet/in.h> > could cause errors on some systems. > > Signed-off-by: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> Thanks, applied to the block branch. Kevin
Patch
diff --git a/block/sheepdog.c b/block/sheepdog.c index 81aa564..e62820a 100644 --- a/block/sheepdog.c +++ b/block/sheepdog.c @@ -8,16 +8,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifdef _WIN32 -#include <windows.h> -#include <winsock2.h> -#include <ws2tcpip.h> -#else -#include <netdb.h> -#include <netinet/tcp.h> - -#define closesocket(s) close(s) -#endif #include "qemu-common.h" #include "qemu-error.h"
"qemu_socket.h" includes all necessary files and including <netinet/tcp.h> without <netinet/in.h> could cause errors on some systems. Signed-off-by: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> --- block/sheepdog.c | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-)