summaryrefslogtreecommitdiff
path: root/devel/astyle/patches/patch-ac
blob: 22c244d8bbc89c2f0f572e9f67932082e95831e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ac,v 1.2 2011/11/24 14:14:15 joerg Exp $

--- astyle_main.cpp.orig	2001-01-20 17:02:14.000000000 +0000
+++ astyle_main.cpp
@@ -29,6 +29,8 @@
 #include <fstream>
 #include <string>
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 
 
 #define IS_OPTION(arg,op)          ((arg).compare(op)==0)
@@ -149,7 +151,7 @@ void error(const char *why, const char* 
     exit(1);
 }
 
-
+bool parseOption(ASFormatter &, const string &, const string &);
 
 template<class ITER>
 bool parseOptions(ASFormatter &formatter,