Skip to content

Commit 4fa4c78

Browse files
committed
tests: fix posix build call of _exit()
And remove unneeded assert.h include
1 parent 6dd6522 commit 4fa4c78

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/test_common.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
#include <stdarg.h>
66
#include <stdio.h>
77
#include <stdlib.h>
8-
#include <assert.h>
98
#include <chrono>
109
#include <thread>
10+
#ifndef _WIN32
11+
#include <unistd.h>
12+
#endif
1113

1214
#include <steam/steamnetworkingsockets.h>
1315
#include <steam/isteamnetworkingutils.h>

0 commit comments

Comments
 (0)