summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/util/coreutil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/util/coreutil.c b/src/lib/util/coreutil.c
index 87df296dd56..88236d4e1fb 100644
--- a/src/lib/util/coreutil.c
+++ b/src/lib/util/coreutil.c
@@ -9,6 +9,7 @@
***************************************************************************/
#include "coreutil.h"
+#include <assert.h>
#include <zlib.h>
@@ -82,7 +83,7 @@ int gregorian_is_leap_year(int year)
int gregorian_days_in_month(int month, int year)
{
- assert(month >= 1 && month <= 12)
+ assert(month >= 1 && month <= 12);
int days[] = { 31,28,31,30,31,30,31,31,30,31,30,31 };
days[1] += gregorian_is_leap_year(year) ? 1 : 0;