aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-07-24 08:24:52 +0200
committerPřemysl Eric Janouch <p@janouch.name>2023-07-24 08:24:52 +0200
commit5a9a446b9c0e526075937da8296f685f23f384a5 (patch)
tree690a470f828476e1b94e7e242879998417312fab /src
parent39e2fc51425018bfc333ac95a4d15777d953b7fa (diff)
downloadtdv-5a9a446b9c0e526075937da8296f685f23f384a5.tar.gz
tdv-5a9a446b9c0e526075937da8296f685f23f384a5.tar.xz
tdv-5a9a446b9c0e526075937da8296f685f23f384a5.zip
Fix build on OpenIndiana
Diffstat (limited to 'src')
-rw-r--r--src/utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index 5542202..6a6c5d5 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -16,6 +16,9 @@
*
*/
+// getpwnam_r
+#define _POSIX_C_SOURCE 199506L
+
#include <glib.h>
#include <glib/gprintf.h>
#include <gio/gio.h>