|
@@ -26,6 +26,8 @@
|
|
|
#include <dirent.h>
|
|
|
#endif
|
|
|
|
|
|
+#include <math.h>
|
|
|
+
|
|
|
|
|
|
* are typically file-private. */
|
|
|
#define ROUTER_PRIVATE
|
|
@@ -34,14 +36,6 @@
|
|
|
#define MAIN_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.
|
|
|
- */
|
|
|
-
|
|
|
-long int lround(double x);
|
|
|
-double fabs(double x);
|
|
|
-
|
|
|
#include "core/or/or.h"
|
|
|
#include "lib/err/backtrace.h"
|
|
|
#include "lib/container/buffers.h"
|