fix the compilation problem because of gperf changes in 3.1

This commit is contained in:
Gergan Penkov
2017-05-27 12:28:00 +02:00
parent 3fe3c71ea7
commit 08d25154e5
2 changed files with 23 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
#ifndef __DMAP_HELPERS_H__
#define __DMAP_HELPERS_H__
#include "config.h"
#include <event2/buffer.h>
#include <event2/http.h>
@@ -46,7 +47,7 @@ dmap_get_fields_table(int *nfields);
/* From dmap_fields.gperf - keep in sync, don't alter */
const struct dmap_field *
dmap_find_field (register const char *str, register unsigned int len);
dmap_find_field (register const char *str, register GPERF_LEN_TYPE len);
void