Skip to content

Commit

Permalink
fix: always include pthread.h
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Oct 18, 2024
1 parent cda7473 commit e864142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frankenphp.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <php_main.h>
#include <php_output.h>
#include <php_variables.h>
#include <pthread.h>
#include <sapi/embed/php_embed.h>
#include <signal.h>
#include <stdint.h>
Expand All @@ -21,7 +22,6 @@
#if defined(__linux__)
#include <sys/prctl.h>
#elif defined(__FreeBSD__) || defined(__OpenBSD__)
#include <pthread.h>
#include <pthread_np.h>
#endif

Expand Down

0 comments on commit e864142

Please sign in to comment.