Fix compat.c headers

This commit is contained in:
Rodrigo Arias 2023-03-22 17:25:45 +01:00 committed by Rodrigo Arias Mallo
parent 848a1de963
commit d20483ed13

View File

@ -4,8 +4,9 @@
#define _GNU_SOURCE /* Only here */ #define _GNU_SOURCE /* Only here */
#include "compat.h" #include "compat.h"
#include <unistd.h>
#include <errno.h> #include <errno.h>
#include <features.h>
#include <unistd.h>
/* Define gettid for older glibc versions (below 2.30) */ /* Define gettid for older glibc versions (below 2.30) */
#if defined(__GLIBC__) #if defined(__GLIBC__)