Skip to content

Commit

Permalink
fix build for newer libc++
Browse files Browse the repository at this point in the history
It needs to include <stdlib.h> for abort().

PiperOrigin-RevId: 690609739
  • Loading branch information
Ruy Contributors authored and copybara-github committed Nov 13, 2024
1 parent 8704f5f commit 9889171
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ruy/profiler/instrumentation.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ limitations under the License.
#define RUY_RUY_PROFILER_INSTRUMENTATION_H_

#ifdef RUY_PROFILER
#include <stdlib.h>
#include <cstdio>
#include <mutex>
#include <string>
Expand Down

0 comments on commit 9889171

Please sign in to comment.