Skip to content

Commit f126bc9

Browse files
committed
[libc] Fix conflict values from internal limits.h when used externally
1 parent 7634a96 commit f126bc9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libc/utils/gpu/server/rpc_server.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
#define __has_builtin(x) 0
1212
#endif
1313

14+
// Make sure these are included first so they don't conflict with the system.
15+
#include <limits.h>
16+
1417
#include "llvmlibc_rpc_server.h"
1518

1619
#include "src/__support/RPC/rpc.h"

0 commit comments

Comments
 (0)