--- a/src/yacc_config.y
+++ b/src/yacc_config.y
@@ -40,7 +40,7 @@ int yylex(void);
 
 %union {
     char *str;
-    u_long num;
+    unsigned long num;
     struct adjust_list_t *adjust;
 }