Moving sigar includes until after system. Fixes compilation on Xcode 6.1
This commit is contained in:
parent
b89060c481
commit
13bcf8ae45
|
@ -16,11 +16,6 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "sigar.h"
|
|
||||||
#include "sigar_private.h"
|
|
||||||
#include "sigar_util.h"
|
|
||||||
#include "sigar_os.h"
|
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/mount.h>
|
#include <sys/mount.h>
|
||||||
#if !(defined(__FreeBSD__) && (__FreeBSD_version >= 800000))
|
#if !(defined(__FreeBSD__) && (__FreeBSD_version >= 800000))
|
||||||
|
@ -112,6 +107,11 @@
|
||||||
#include <netinet/tcp_var.h>
|
#include <netinet/tcp_var.h>
|
||||||
#include <netinet/tcp_fsm.h>
|
#include <netinet/tcp_fsm.h>
|
||||||
|
|
||||||
|
#include "sigar.h"
|
||||||
|
#include "sigar_private.h"
|
||||||
|
#include "sigar_util.h"
|
||||||
|
#include "sigar_os.h"
|
||||||
|
|
||||||
#define NMIB(mib) (sizeof(mib)/sizeof(mib[0]))
|
#define NMIB(mib) (sizeof(mib)/sizeof(mib[0]))
|
||||||
|
|
||||||
#ifdef __FreeBSD__
|
#ifdef __FreeBSD__
|
||||||
|
|
Loading…
Reference in New Issue