Fix compile with gcc46 on freebsd8.2

PR:		ports/167208
Submitted by:	Olivier <software-freebsd@interfasys.ch>
This commit is contained in:
Vanilla I. Shu 2012-04-22 22:05:12 +00:00
parent 8269acc5ce
commit cfc998a265
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=295282

View File

@ -0,0 +1,10 @@
--- util/log.hpp.orig 2012-04-22 19:10:08.624721461 +0200
+++ util/log.hpp 2012-04-22 19:11:43.651275813 +0200
@@ -27,6 +27,7 @@
#include <fcntl.h>
#include <iostream>
#include <string>
+#include <string.h>
#include <syslog.h>
#define UTIL_MAX_ERROR_SIZE 2048