Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Dec 2017 21:04:32 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r327117 - head/usr.bin/calendar
Message-ID:  <201712232104.vBNL4WLi075906@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712232104.vBNL4WLi075906>