From: Nathanael Noblet Date: Thu, 5 Jan 2012 23:25:59 +0000 (-0500) Subject: lib: added unistd.h includes for gcc 4.7 X-Git-Tag: barry-0.18.0~231 X-Git-Url: https://repo.or.cz/w/barry.git/commitdiff_plain/c0daafaf990f014b811bad103e9b9b205bd7e378 lib: added unistd.h includes for gcc 4.7 Fedora 17 will include gcc-4.7 and as such the packages have all been rebuilt. Barry failed because of a change in gcc. The following patch fixes the issue. --- diff --git a/src/j_jdwp.cc b/src/j_jdwp.cc index 875f2263..279e61c8 100644 --- a/src/j_jdwp.cc +++ b/src/j_jdwp.cc @@ -24,7 +24,7 @@ #include #include #include - +#include namespace Barry { namespace JDWP { diff --git a/src/packet.h b/src/packet.h index a89cf1d6..52f16f28 100644 --- a/src/packet.h +++ b/src/packet.h @@ -26,6 +26,7 @@ #include #include +#include #include "protocol.h" #include "data.h"