We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80cd9ba commit 5431a96Copy full SHA for 5431a96
Makefile
@@ -9,6 +9,10 @@ all: http_parser.c
9
clean:
10
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
11
12
+# Download http_parser.[ch] from nodejs/http-parser repository
13
+# the inclusion of standard header files such as <string.h> will be replaced
14
+# with "compat/string.h", which is just a wrapper to Linux kernel headers.
15
+# TODO: rewrite with elegant scripts
16
http_parser.c:
17
wget -q https://raw.githubusercontent.com/nodejs/http-parser/master/http_parser.c
18
@sed -i 's/#include <assert.h>/#include "compat\/assert.h"/' $@
0 commit comments