svn commit: r327117 - head/usr.bin/calendar

Eitan Adler eadler at FreeBSD.org
Sat Dec 23 21:04:34 UTC 2017


Author: eadler
Date: Sat Dec 23 21:04:32 2017
New Revision: 327117
URL: https://svnweb.freebsd.org/changeset/base/327117

Log:
  calendar: add missing header file
  
  time.h is required for strftime and struct tm
  
  Reviewed by:	edje

Modified:
  head/usr.bin/calendar/io.c

Modified: head/usr.bin/calendar/io.c
==============================================================================
--- head/usr.bin/calendar/io.c	Sat Dec 23 19:48:57 2017	(r327116)
+++ head/usr.bin/calendar/io.c	Sat Dec 23 21:04:32 2017	(r327117)
@@ -58,6 +58,7 @@ __FBSDID("$FreeBSD$");
 #include <stdlib.h>
 #include <string.h>
 #include <stringlist.h>
+#include <time.h>
 #include <unistd.h>
 
 #include "pathnames.h"


More information about the svn-src-all mailing list