fix: define _DEFAULT_SOURCE for usleep in pubscript-desktop.c
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
* the full PubScript studio inside a native GTK3 + WebKit2GTK 4.1 window with
|
* the full PubScript studio inside a native GTK3 + WebKit2GTK 4.1 window with
|
||||||
* persistent IndexedDB and localStorage in ~/.local/share/pubscript/webdata.
|
* persistent IndexedDB and localStorage in ~/.local/share/pubscript/webdata.
|
||||||
*/
|
*/
|
||||||
|
#define _DEFAULT_SOURCE
|
||||||
#define _POSIX_C_SOURCE 200809L
|
#define _POSIX_C_SOURCE 200809L
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user