Skip to content

Conversation

@Ansuel
Copy link

@Ansuel Ansuel commented Nov 20, 2025

Fix compilation error for missing pthread_t type name.

rtpp_proc_async.h:44:34: error: unknown type name 'pthread_t'
44 | void rtpp_proc_async_setprocname(pthread_t thread_id, const char *pname);
| ^~~~~~~~~

Fix compilation error for missing pthread_t type name.

rtpp_proc_async.h:44:34: error: unknown type name 'pthread_t'
   44 | void rtpp_proc_async_setprocname(pthread_t thread_id, const char *pname);
      |                                  ^~~~~~~~~

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
@sobomax
Copy link
Member

sobomax commented Jan 19, 2026

@Ansuel I'd prefer not to include .h from another .h since it pollutes name space. As such, could you please let me know which .c file specifically are you having issue with compiling? The error message that you included only lists .h.

@Ansuel
Copy link
Author

Ansuel commented Jan 19, 2026

@sobomax well the problem is really in

void rtpp_proc_async_setprocname(pthread_t thread_id, const char *pname);

for the unknown pthread_t

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants