1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/print/ansiprint/files/patch-ansiprint.cc
Pawel Pekala 91721fd606 - Fix build with clang [1]
- Support stage

PR:		ports/182043 [1]
Submitted by:	maintainer
MFH:		2014Q1
2014-02-04 19:10:51 +00:00

19 lines
437 B
C++

--- ./ansiprint.cc.orig 2014-02-04 20:01:43.741062023 +0100
+++ ./ansiprint.cc 2014-02-04 20:02:11.131060123 +0100
@@ -36,13 +36,14 @@
#undef NOPRINT
// INCLUDES
-#include <iostream.h>
+#include <iostream>
#include <string.h> // Check to be sure we need this
#include <stdlib.h>
// below are the includes for raw I/O
#include <fcntl.h>
#include <unistd.h>
+using namespace std;
/***** GLOBAL VARIABLE DECLARATIONS *****/