openbsd-ports/devel/doc++/patches/patch-src_doc2dbxml_ll
2022-03-11 18:49:30 +00:00

22 lines
371 B
Plaintext

Index: src/doc2dbxml.ll
--- src/doc2dbxml.ll.orig
+++ src/doc2dbxml.ll
@@ -25,11 +25,15 @@
%{
#include <assert.h>
-#include <fstream.h>
-#include <iostream.h>
+#include <fstream>
+#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+
+using std::cerr;
+using std::endl;
+using std::ifstream;
#include "classgraph.h"
#include "doc.h"