mirror of
https://github.com/Cloudef/bemenu
synced 2025-02-22 18:06:49 +00:00
vsnprintf is not on same headers on darwin.
This commit is contained in:
parent
239259aebf
commit
66a6f08c8a
@ -1,5 +1,11 @@
|
||||
#include "../internal.h"
|
||||
|
||||
#if __APPLE__
|
||||
# define _C99_SOURCE
|
||||
# include <stdio.h> /* vsnprintf */
|
||||
# undef _C99_SOURCE
|
||||
#endif
|
||||
|
||||
#define _XOPEN_SOURCE 500
|
||||
#include <signal.h> /* sigaction */
|
||||
#include <stdarg.h> /* vsnprintf */
|
||||
|
Loading…
Reference in New Issue
Block a user