aboutsummaryrefslogtreecommitdiff
path: root/pm-genid.c
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2024-01-02 17:33:14 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2024-01-02 17:33:14 -0500
commit3dd2853189824cf4fce3be784f71310f6b2a05d2 (patch)
tree0a3eb83cd4254f9851e135e327525b69cd1fe786 /pm-genid.c
parent236b17c038967cb4c761c5bec39d37dca360adea (diff)
downloadpm-3dd2853189824cf4fce3be784f71310f6b2a05d2.tar.gz
pm-3dd2853189824cf4fce3be784f71310f6b2a05d2.tar.xz
Further tweaks to make it build on Linuxdev
Diffstat (limited to 'pm-genid.c')
-rw-r--r--pm-genid.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pm-genid.c b/pm-genid.c
index da4e889..5a481ce 100644
--- a/pm-genid.c
+++ b/pm-genid.c
@@ -22,6 +22,10 @@
#include <unistd.h>
#include <fcntl.h>
+#if __linux__
+ #include "compat/strtonum.c"
+#endif
+
#define BUF_SIZE 64
#define MAX_OUT_CHARS 65534