Skip to content

Commit

Permalink
Moving sigar includes until after system. Fixes compilation on Xcode 6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
David Zhao committed Oct 6, 2014
1 parent b89060c commit 13bcf8a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/os/darwin/darwin_sigar.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -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__
Expand Down

0 comments on commit 13bcf8a

Please sign in to comment.