chiark / gitweb /
Fix lookup_errno by adding a gperf length parameter detection.
[elogind.git] / src / basic / errno-list.c
index fff37eb3e8438717d5c668b15c9d6eda899a597d..f7f33bb44ae72c4bfd9783c49765c4dae83ce0c6 100644 (file)
 
 #include <string.h>
 
 
 #include <string.h>
 
+#include "config.h"
 #include "util.h"
 #include "errno-list.h"
 
 static const struct errno_name* lookup_errno(register const char *str,
 #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"
 
 #include "errno-to-name.h"
 #include "errno-from-name.h"