Fix compile errror on freebsd - defines have to be moved up due to

header dependencies.
This commit is contained in:
Bernhard Amann 2014-03-16 22:20:26 -07:00
parent dbe5dfb3c3
commit 636d25e526

View file

@ -2,18 +2,17 @@
#include "config.h"
#include <sstream>
#include <errno.h>
#include <math.h>
#include "./JSON.h"
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS
#endif
#include <sstream>
#include <errno.h>
#include <math.h>
#include <stdint.h>
#include "./JSON.h"
using namespace threading::formatter;
JSON::JSON(MsgThread* t, TimeFormat tf) : Formatter(t)