summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-06-28 12:12:55 -0400
committerRich Felker <dalias@aerifal.cx>2013-06-28 12:12:55 -0400
commit062446a85db9b58b4900df82e17cb8c07ec50453 (patch)
tree80203657f54f15c72809ca4b7e5c886eccacbef2 /src
parentc5faf1bf09c01641e74844c4bfb0f129bc3974a1 (diff)
downloadmusl-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.
Diffstat (limited to 'src')
-rw-r--r--src/time/strftime.c1
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