summaryrefslogtreecommitdiff
path: root/regress/libexec/ld.so/constructor/libab/ab.C
diff options
context:
space:
mode:
Diffstat (limited to 'regress/libexec/ld.so/constructor/libab/ab.C')
-rw-r--r--regress/libexec/ld.so/constructor/libab/ab.C6
1 files changed, 4 insertions, 2 deletions
diff --git a/regress/libexec/ld.so/constructor/libab/ab.C b/regress/libexec/ld.so/constructor/libab/ab.C
index a6903d47a28..4c689a3f8fd 100644
--- a/regress/libexec/ld.so/constructor/libab/ab.C
+++ b/regress/libexec/ld.so/constructor/libab/ab.C
@@ -1,13 +1,15 @@
/*
* Public Domain 2003 Dale Rahn
*
- * $OpenBSD: ab.C,v 1.2 2003/02/18 13:14:42 jmc Exp $
+ * $OpenBSD: ab.C,v 1.3 2016/09/27 06:52:50 kettenis Exp $
*/
-#include "iostream.h"
+#include <iostream>
#include "aa.h"
#include "ab.h"
+using namespace std;
+
extern int a;
BB::BB(char *str)