Skip to content

Commit 824aa33

Browse files
authored
Merge pull request #4027 from NTULINUX/gcc-16-fix
Fix build with GCC 16
2 parents 5e93f73 + c9af6a8 commit 824aa33

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)