Fixes a crash when using the libhttp-parser dependency, which is the
configuration that we use in buildroot.
Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 21a72fb275aea38c1d82ce7b3b7f10e8cf4bb83d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>