|
@@ -22,6 +22,8 @@
|
|
#include <dirent.h>
|
|
#include <dirent.h>
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#include <math.h>
|
|
|
|
+
|
|
/* These macros pull in declarations for some functions and structures that
|
|
/* These macros pull in declarations for some functions and structures that
|
|
* are typically file-private. */
|
|
* are typically file-private. */
|
|
#define GEOIP_PRIVATE
|
|
#define GEOIP_PRIVATE
|
|
@@ -31,14 +33,6 @@
|
|
#define MAIN_PRIVATE
|
|
#define MAIN_PRIVATE
|
|
#define STATEFILE_PRIVATE
|
|
#define STATEFILE_PRIVATE
|
|
|
|
|
|
-/*
|
|
|
|
- * Linux doesn't provide lround in math.h by default, but mac os does...
|
|
|
|
- * It's best just to leave math.h out of the picture entirely.
|
|
|
|
- */
|
|
|
|
-//#include <math.h>
|
|
|
|
-long int lround(double x);
|
|
|
|
-double fabs(double x);
|
|
|
|
-
|
|
|
|
#include "or.h"
|
|
#include "or.h"
|
|
#include "backtrace.h"
|
|
#include "backtrace.h"
|
|
#include "buffers.h"
|
|
#include "buffers.h"
|