Skip to content
Snippets Groups Projects
Commit 9a7c3e75 authored by Arnaud Degroote's avatar Arnaud Degroote
Browse files

[wip/msgconnector] Add a patch to fix missing unistd.h include

Fix the compilation on Ubuntu-12.10, where they clean a bit the standard
include mess
parent a7385f7b
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
DISTNAME= msgconnector-${VERSION}
VERSION= 2.1.0
PKGREVISION=
PKGREVISION= 1
CATEGORIES= planning
MASTER_SITES= ${MASTER_SITE_OPENROBOTS:=msgconnector/}
MASTER_REPOSITORY= ${MASTER_REPOSITORY_OPENROBOTS}msgconnector
......
SHA1 (msgconnector-2.1.0.tar.gz) = ec96eb84768611e0356c964fcc68d6fe0b686e57
RMD160 (msgconnector-2.1.0.tar.gz) = a0f59a10dc84c252958ed38ef83f40793c324c82
Size (msgconnector-2.1.0.tar.gz) = 17094 bytes
SHA1 (patch-aa) = 94897e202f4156559d6b99571769c49954ca5930
Add missing unistd.h include for close(2)
--- isocket/iserver.hh.orig 2013-02-26 10:29:48.651007333 +0100
+++ isocket/iserver.hh 2013-02-26 10:30:12.031006747 +0100
@@ -5,6 +5,7 @@
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <iostream>
+#include <unistd.h>
#include <vector>
#include "imsg.hh"
--- isocket/iclient.hh.orig 2013-01-21 17:29:15.000000000 +0100
+++ isocket/iclient.hh 2013-02-26 10:31:09.303005310 +0100
@@ -4,6 +4,7 @@
#include <sys/epoll.h>
#include <netinet/tcp.h>
#include <netdb.h>
+#include <unistd.h>
#include "imsg.hh"
#include "message.hh"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment