]> git.wh0rd.org Git - home.git/commitdiff
test: add more boilerplate
authorMike Frysinger <vapier@gentoo.org>
Mon, 15 Jul 2024 14:53:46 +0000 (10:53 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 15 Jul 2024 14:53:46 +0000 (10:53 -0400)
test.c
test.cc

diff --git a/test.c b/test.c
index 4956067d1665a60929f6672d1f98225d43cb882a..7b014414ba91a5e87d301097faf413789a0b631f 100644 (file)
--- a/test.c
+++ b/test.c
@@ -19,6 +19,7 @@
 #include <langinfo.h>
 #include <limits.h>
 #include <locale.h>
+#include <math.h>
 #include <pthread.h>
 #include <pwd.h>
 #include <regex.h>
diff --git a/test.cc b/test.cc
index 28bb24f9d5db56881eb0ca226f5ccd4f610cb58b..06ee32c4f4b78b36424ec7c9325e812ec0273892 100644 (file)
--- a/test.cc
+++ b/test.cc
@@ -14,6 +14,7 @@
 #include <map>
 #include <memory>
 #include <mutex>
+#include <optional>
 #include <ostream>
 #include <queue>
 #include <random>
@@ -25,6 +26,8 @@
 #include <utility>
 #include <vector>
 
+using namespace std;
+
 int main(int argc, char *_argv[])
 {
 }