blob: f4de33ba4745b5fa2587576298fe688e0c4c41e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From 8da80e890a57c76671d61acf2ee58d9686b7b271 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Diego=20Elio=20'Flameeyes'=20Petten=C3=B2?= <flameeyes@gmail.com>
Date: Tue, 19 May 2009 20:46:39 +0200
Subject: [PATCH 2/2] Fix tests on FreeBSD: malloc.h should not be used, stdlib.h should.
Also use the C++ proper includes instead of the C includes.
---
test/cppscan1.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/cppscan1.h b/test/cppscan1.h
index 3fa0229..346dd9b 100644
--- a/test/cppscan1.h
+++ b/test/cppscan1.h
@@ -2,8 +2,8 @@
#define _CPPSCAN1_H
#include <iostream>
-#include <malloc.h>
-#include <string.h>
+#include <cstdlib>
+#include <cstring>
using namespace std;
--
1.6.3.1
|