ports/mail/vmailmgr/files/patch-lib:fdbuf:fdbuf.h
Alexander Leidinger 83d7454729 Fix build with gcc 3.x.
Noticed by:		kris/amd64 build
Approved by:		maintainer
Build tested on:	ia32
2004-02-02 14:17:24 +00:00

12 lines
249 B
C

--- lib/fdbuf/fdbuf.h.orig Mon Feb 2 14:40:11 2004
+++ lib/fdbuf/fdbuf.h Mon Feb 2 14:40:38 2004
@@ -25,6 +25,9 @@
#include <pthread.h>
#endif
+#include <unistd.h>
+#include <sys/types.h>
+
#ifndef FDBUF_SIZE
#define FDBUF_SIZE 4096
#endif