Skip to content

Commit 3cfffe0

Browse files
drewdzzzalyapunov
authored andcommitted
test: include missing string.h header in System.hpp
The header contains strerror definition used in this file. Along the way, the headers in System.hpp are sorted.
1 parent 2fdba53 commit 3cfffe0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/Utils/System.hpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@
3131
*/
3232
#include <arpa/inet.h>
3333
#include <netinet/in.h>
34-
#include <unistd.h>
34+
#include <signal.h>
3535
#include <stdio.h>
3636
#include <stdlib.h>
37-
#include <sys/wait.h>
37+
#include <string.h>
3838
#include <sys/socket.h>
39-
#include <signal.h>
39+
#include <sys/wait.h>
40+
#include <unistd.h>
4041
#ifdef __linux__
4142
#include <sys/prctl.h>
4243
#endif

0 commit comments

Comments
 (0)