Commit b5b1c190 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Rémi Denis-Courmont

Fix compilation error due to pthread on OS/2

Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent 4ba496f8
......@@ -35,13 +35,20 @@
#include <stdbool.h>
#include <locale.h>
#include <signal.h>
#include <pthread.h>
#ifdef HAVE_PTHREAD_H
# include <pthread.h>
#endif
#include <unistd.h>
#ifdef __APPLE__
#include <string.h>
#endif
#ifdef __OS2__
# define pthread_t int
# define pthread_self() _gettid()
#endif
/* Explicit HACK */
extern void LocaleFree (const char *);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment