Skip to content

Commit 3cc82cf

Browse files
committed
* enabled MAC OS build by adding an if state to execute glibtoolize instead of libtoolize for building
* added a header that was necessary to made "free" function beeing imported under MacOS
1 parent 7c79eef commit 3cc82cf

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

bootstrap

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@
1919

2020
aclocal -I m4
2121
autoheader
22-
libtoolize --automake
22+
if [[ "$OSTYPE" == "darwin"* ]]; then
23+
glibtoolize --automake
24+
else
25+
libtoolize --automake
26+
fi
2327
automake --add-missing
2428
autoconf
2529

src/httpserver/webserver.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
#include <set>
3737
#include <string>
3838
#include <utility>
39+
#include <stdlib.h>
3940
#include <memory>
4041
#include <deque>
4142

0 commit comments

Comments
 (0)