1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-12 09:17:44 +03:00

missing: define gettid()

This commit is contained in:
Lennart Poettering 2011-08-01 05:06:15 +02:00
parent 3bfc71846c
commit 4d14be09d6

View File

@ -176,4 +176,8 @@ struct btrfs_ioctl_vol_args {
#define MS_PRIVATE (1 << 18)
#endif
static inline pid_t gettid(void) {
return (pid_t) syscall(SYS_gettid);
}
#endif