From 5a9a446b9c0e526075937da8296f685f23f384a5 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Mon, 24 Jul 2023 08:24:52 +0200
Subject: Fix build on OpenIndiana
---
src/utils.c | 3 +++
1 file changed, 3 insertions(+)
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