pxe-kexec (0.2.4-3) fix-ftbfs-gcc-4-7.patch

Summary

 src/networkhelper.cc |    1 +
 1 file changed, 1 insertion(+)

    
download this patch

Patch contents

Description: Resolve FTBFS with gcc-4.7 by adding additional include.
Author: Paul Tagliamonte <tag@pault.ag>
Bug: http://bugs.debian.org/672071
Last-Update: 2012-05-14

--- a/src/networkhelper.cc
+++ b/src/networkhelper.cc
@@ -26,6 +26,7 @@
 #include <net/if.h>
 #include <sys/ioctl.h>
 #include <netinet/in.h>
+#include <unistd.h>
 
 #include <libbw/stringutil.h>
 #include <libbw/debug.h>