--- a/PacketWriter.cpp +++ b/PacketWriter.cpp @@ -4,6 +4,7 @@ */ #include <PacketWriter.h> +#include <cstdlib> extern "C" { #include <sys/socket.h>