diff options
author | Test_User <hax@andrewyu.org> | 2024-07-23 23:25:46 -0400 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2024-07-23 23:25:46 -0400 |
commit | 36ffbf0e0d84b7361788316c46b2b60baf1962af (patch) | |
tree | 3e42cc4e2c715799c6ccfe16875d40ea0a2d549e /mutex.h | |
parent | 921f31231c4b88a4176b6b349d5b2fccca2b25fa (diff) | |
download | haxircd-36ffbf0e0d84b7361788316c46b2b60baf1962af.tar.gz haxircd-36ffbf0e0d84b7361788316c46b2b60baf1962af.zip |
Fix semaphore code
Diffstat (limited to '')
-rw-r--r-- | mutex.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -86,6 +86,7 @@ inline void mutex_destroy(char *lock) { #else #include <semaphore.h> +#include <errno.h> #define MUTEX_TYPE sem_t |