ref: 83d512c921eadc0762591d1ad1f4c41175b901bb
parent: 45fffdf243d887947abd09052262b500da9b7171
author: mkf <mkf@x230>
date: Mon Jun 3 10:33:30 EDT 2024
port.h: import
--- /dev/null
+++ b/port.h
@@ -1,0 +1,7 @@
+#ifdef unix
+#include "unix.h"
+#else
+#include <u.h>
+#include <libc.h>
+#include <draw.h>
+#endif
--- a/util.c
+++ b/util.c
@@ -1,11 +1,4 @@
-#ifdef unix
-#include "unix.h"
-#else
-#include <u.h>
-#include <libc.h>
-#include <draw.h>
-#endif
-
+#include "port.h"
#include "engine.h"
int