Moving sigar includes until after system. Fixes compilation on Xcode 6.1

This commit is contained in:
David Zhao 2014-10-06 16:14:45 -07:00
parent b89060c481
commit 13bcf8ae45
1 changed files with 5 additions and 5 deletions

View File

@ -16,11 +16,6 @@
* 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/mount.h>
#if !(defined(__FreeBSD__) && (__FreeBSD_version >= 800000))
@ -112,6 +107,11 @@
#include <netinet/tcp_var.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]))
#ifdef __FreeBSD__