chiark / gitweb /
Fix lookup_errno by adding a gperf length parameter detection.
[elogind.git] / src / basic / errno-list.c
index fff37eb..f7f33bb 100644 (file)
 
 #include <string.h>
 
+#include "config.h"
 #include "util.h"
 #include "errno-list.h"
 
 static const struct errno_name* lookup_errno(register const char *str,
-                                                 register unsigned int len);
+                                             register GPERF_LEN_TYPE len);
+
 
 #include "errno-to-name.h"
 #include "errno-from-name.h"