pass HOST_ variables, not BUILD_
[buildroot.git] / package / dnsmasq / dnsmasq2-100-include-correct-prctl-header.patch
blob52246a3c5b0d787442b04cd3939fea082a3a9912
1 diff -upr dnsmasq-2.39/src/dnsmasq.h dnsmasq-2.39-orig/src/dnsmasq.h
2 --- dnsmasq-2.39/src/dnsmasq.h 2007-04-20 12:53:38.000000000 +0200
3 +++ dnsmasq-2.39-orig/src/dnsmasq.h 2007-06-12 11:12:19.000000000 +0200
4 @@ -79,7 +79,7 @@
5 /* There doesn't seem to be a universally-available
6 userpace header for this. */
7 extern int capset(cap_user_header_t header, cap_user_data_t data);
8 -#include <sys/prctl.h>
9 +#include <linux/prctl.h>
10 #endif
12 /* Min buffer size: we check after adding each record, so there must be