aboutsummaryrefslogtreecommitdiff
path: root/src/mtx_qhull/vectors.h
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2012-08-23 13:25:42 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2012-08-23 13:25:42 +0000
commitb801e58f0dc2ec8257026283ea4f1a657c93f700 (patch)
treeb5b94a98dbb7d7fa66ca1b50cd1faa8fd446cb9e /src/mtx_qhull/vectors.h
parent3b76e03e69022f7214c98a3fcae0e7634d186fd1 (diff)
protect headers against double inclusion
and include headers needed svn path=/trunk/externals/iem/iemmatrix/; revision=16169
Diffstat (limited to 'src/mtx_qhull/vectors.h')
-rw-r--r--src/mtx_qhull/vectors.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mtx_qhull/vectors.h b/src/mtx_qhull/vectors.h
index 201205a..fadb370 100644
--- a/src/mtx_qhull/vectors.h
+++ b/src/mtx_qhull/vectors.h
@@ -1,3 +1,9 @@
+#ifndef QHULL_VECTORS_H
+#define QHULL_VECTORS_H
+
+#include <sys/types.h>
+#include "list.h"
+
typedef struct vec_ {
float c[3];
} vector_t;
@@ -38,3 +44,5 @@ plane_t planeFromListedPoints(points_t points, list_t list);
void printPlane(plane_t p);
void printVector(vector_t v);
+
+#endif /* QHULL_VECTORS_H */