aboutsummaryrefslogtreecommitdiff
path: root/gst/map.c
diff options
context:
space:
mode:
authorjacopo grandi <jak.sk8@hotmail.it>2021-03-02 09:44:19 +0100
committerjacopo grandi <jak.sk8@hotmail.it>2021-03-02 09:44:19 +0100
commit879fb2adefadbc5f38711cd8f01bcc4cee053e3d (patch)
tree63d9841f0dd321978714dd5839cb6f8c3c8df57e /gst/map.c
parent2f345b1d6e130177efe4fa47d5b2bd11f352ce85 (diff)
i hate cmake, g++, ld, collect2, cc1, x86_64-w64-mingw32
Diffstat (limited to 'gst/map.c')
-rw-r--r--gst/map.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/map.c b/gst/map.c
index 59d1ad1..f511496 100644
--- a/gst/map.c
+++ b/gst/map.c
@@ -1,9 +1,10 @@
#include <stdlib.h>
#include <stdio.h>
-#include <units.h>
#include <string.h>
-#include <map.h>
+#include "units.h"
+
+#include "map.h"
int ptoi (map *m, int *p) { return p[0]+p[1]*m->sx; }
int xytoi (map *m, int x, int y) { return x+y*m->sx; }