mirror of https://github.com/xzeldon/htop.git
Merge pull request #273 from kaefer/fix-glibtoolize-detection
Mac build fixes
This commit is contained in:
commit
9c14fa6fad
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if glibtoolize --version &> /dev/null
|
glibtoolize=$(which glibtoolize 2> /dev/null)
|
||||||
|
if [ ${#glibtoolize} -gt 0 ]
|
||||||
then libtoolize=glibtoolize
|
then libtoolize=glibtoolize
|
||||||
else libtoolize=libtoolize
|
else libtoolize=libtoolize
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -14,7 +14,6 @@ in the source distribution for its full text.
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <libproc.h>
|
#include <libproc.h>
|
||||||
#include <mach/vm_page_size.h>
|
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <utmpx.h>
|
#include <utmpx.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue