diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-06-28 12:12:55 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-06-28 12:12:55 -0400 |
commit | 062446a85db9b58b4900df82e17cb8c07ec50453 (patch) | |
tree | 80203657f54f15c72809ca4b7e5c886eccacbef2 | |
parent | c5faf1bf09c01641e74844c4bfb0f129bc3974a1 (diff) | |
download | musl-062446a85db9b58b4900df82e17cb8c07ec50453.tar.gz |
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.
-rw-r--r-- | src/time/strftime.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/time/strftime.c b/src/time/strftime.c index ab1c6dcf..b60197df 100644 --- a/src/time/strftime.c +++ b/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 |