Skip to content

Commit c9af6a8

Browse files
committed
Fix build with GCC 16
Signed-off-by: Alec Ari <neotheuser@ymail.com>
1 parent 5e93f73 commit c9af6a8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/rtapi/uspace_rtapi_app.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include <stdio.h>
2222
#include <stdlib.h>
2323
#include <string.h>
24+
#include <errno.h>
2425

2526
std::atomic_int WithRoot::level;
2627
uid_t WithRoot::ruid, WithRoot::euid;
@@ -285,4 +286,4 @@ void RtapiApp::set_namef(const char *fmt, ...) {
285286
fprintf(stderr, "pthread_setname_np() failed for %s: %d\n", buf, res);
286287
}
287288
free(buf);
288-
}
289+
}

0 commit comments

Comments
 (0)