From f50f31e5a3b73c28fce5f4af8d5753677e618746 Mon Sep 17 00:00:00 2001 From: Lorenzo Marcantonio Date: Tue, 30 Apr 2013 15:27:08 +0200 Subject: [PATCH] Added include guard to math_for_graphics.h --- polygon/math_for_graphics.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/polygon/math_for_graphics.h b/polygon/math_for_graphics.h index 5b65279102..da921241eb 100644 --- a/polygon/math_for_graphics.h +++ b/polygon/math_for_graphics.h @@ -1,3 +1,5 @@ +#ifndef MATH_FOR_GRAPHICS_H +#define MATH_FOR_GRAPHICS_H // math stuff for graphics, from FreePCB /* Function FindLineSegmentIntersection @@ -61,3 +63,5 @@ double GetPointToLineSegmentDistance( int x, int y, int xi, int yi, int xf, int double GetPointToLineDistance( double a, double b, int x, int y, double * xp=NULL, double * yp=NULL ); double Distance( double x1, double y1, double x2, double y2 ); + +#endif