diff options
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/element.h | 1 | ||||
| -rw-r--r-- | includes/powder.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/includes/element.h b/includes/element.h index ec32df2..be0388d 100644 --- a/includes/element.h +++ b/includes/element.h @@ -4,5 +4,6 @@ #include "powder.h" #include "misc.h" +#include "math.h" #endif diff --git a/includes/powder.h b/includes/powder.h index 9991317..251605b 100644 --- a/includes/powder.h +++ b/includes/powder.h @@ -837,9 +837,9 @@ extern inline int is_wire_off(int x, int y); void set_emap(int x, int y); #if defined(WIN32) && !defined(__GNUC__) -_inline int parts_avg(int ci, int ni, int t); +extern _inline int parts_avg(int ci, int ni, int t); #else -int parts_avg(int ci, int ni, int t); +extern int parts_avg(int ci, int ni, int t); #endif int nearest_part(int ci, int t); |
