소스 검색

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