瀏覽代碼

fix breakage in last commit to strftime due to missing INT_MAX

that's what I get for changing a hard-coded threshold to a proper
non-magic-number without testing.
Rich Felker 11 年之前
父節點
當前提交
062446a85d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/time/strftime.c

+ 1 - 0
src/time/strftime.c

@@ -2,6 +2,7 @@
 #include <stdlib.h>
 #include <langinfo.h>
 #include <time.h>
+#include <limits.h>
 #include "__time.h"
 
 // FIXME: integer overflows