shithub: 9pro

Download patch

ref: e05b2fc3331fa1f0eb6196ae92d62276c05e6cc6
parent: d1a7ba61b9c5cf0a7f8246a52653b5980c20ac34
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Oct 22 12:57:02 EDT 2021

9pex: make it build on mac os x and netbsd ([ac]tim → [ac]timespec translation), thanks grimmware

--- a/9pex.c
+++ b/9pex.c
@@ -20,6 +20,10 @@
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <unistd.h>
+#if defined(__APPLE__) || defined(__NetBSD__)
+#define st_atim st_atimespec
+#define st_ctim st_ctimespec
+#endif
 #include "c9.h"
 #include "parg.h"