aboutsummaryrefslogtreecommitdiff
path: root/tests/stubs.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stubs.h')
-rw-r--r--tests/stubs.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/stubs.h b/tests/stubs.h
index 967074c4..c77b8db6 100644
--- a/tests/stubs.h
+++ b/tests/stubs.h
@@ -7,13 +7,10 @@
// found online at https://opensource.org/licenses/MIT.
//
-#include "convey.h"
-#include "nng.h"
-#include <string.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdarg.h>
+#ifndef STUBS_H
+#define STUBS_H
+#include <stdint.h>
#ifdef _WIN32
#include <windows.h>
#else
@@ -46,3 +43,5 @@ getms(void)
return (((uint64_t)(tv.tv_sec ) * 1000) + (tv.tv_usec / 1000));
#endif
}
+
+#endif // STUBS_H \ No newline at end of file