Skip to content

Commit ea900cd

Browse files
authored
Add cstring import to examples using memset (#289)
* Add cstring import to examples using memset * Add cstring to deferred tests
1 parent 10fcc7f commit ea900cd

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

examples/deferred_with_accumulator.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
*/
2020

2121
#include <atomic>
22+
#include <cstring>
2223
// cpplint errors on chrono and thread because they are replaced (in Chromium) by other google libraries.
2324
// This is not an issue here.
2425
#include <chrono> // NOLINT [build/c++11]

examples/minimal_deferred.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
USA
1919
*/
2020

21+
#include <cstring>
2122
#include <httpserver.hpp>
2223

2324
static int counter = 0;

test/integ/deferred.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#include <sys/socket.h>
3131
#endif
3232

33+
#include <cstring>
3334
#include <curl/curl.h>
3435
#include <signal.h>
3536
#include <unistd.h>

0 commit comments

Comments
 (0)