1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/irc/minbif/files/patch-src__im__request.cpp
Pawel Pekala 3895939876 - Fix build with clang
- Remove leading article from COMMENT
- Convert to new LIB_DEPENDS format
- Support staging

While I'm here use option helpers where possible.

PR:		ports/184816
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-19 15:34:12 +00:00

15 lines
300 B
C++

--- src/im/request.cpp.orig
+++ src/im/request.cpp
@@ -16,8 +16,9 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include <errno.h>
-#include <string.h>
+#include <cerrno>
+#include <cstring>
+#include <unistd.h>
#include "request.h"
#include "buddy.h"