Skip to content

Commit

Permalink
Fix tests/identify_stream_usage.cpp (#13066)
Browse files Browse the repository at this point in the history
The identify_stream_usage test uses `strcmp` but not does not include `<cstring>`. This PR fixes that.

The missing include was surfaced by #13064, showing that the test relied on headers in `spdlog` to include `cstring`.

Authors:
  - Allard Hendriksen (https://github.com/ahendriksen)
  - Bradley Dice (https://github.com/bdice)

Approvers:
  - Bradley Dice (https://github.com/bdice)
  - Nghia Truong (https://github.com/ttnghia)

URL: #13066
  • Loading branch information
ahendriksen committed Apr 5, 2023
1 parent 7a739ce commit da7fe2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpp/tests/utilities/identify_stream_usage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <cuda_runtime.h>

#include <cstdlib>
#include <cstring>
#include <cxxabi.h>
#include <dlfcn.h>
#include <execinfo.h>
Expand Down

0 comments on commit da7fe2a

Please sign in to comment.