[BACK]Return to patch-src_uncrustify.cpp CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / uncrustify / patches

File: [cvs.NetBSD.org] / pkgsrc / textproc / uncrustify / patches / Attic / patch-src_uncrustify.cpp (download)

Revision 1.1, Mon Apr 29 21:31:13 2013 UTC (10 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2

Add a number of includes hidden by libstdc++'s name space pollution.

$NetBSD: patch-src_uncrustify.cpp,v 1.1 2013/04/29 21:31:13 joerg Exp $

--- src/uncrustify.cpp.orig	2013-04-29 19:04:36.000000000 +0000
+++ src/uncrustify.cpp
@@ -25,6 +25,7 @@
 #include <cstring>
 #include <cerrno>
 #include <fcntl.h>
+#include <unistd.h>
 #include "unc_ctype.h"
 #ifdef HAVE_SYS_STAT_H
 #include <sys/stat.h>