svn commit: r330484 - stable/11/usr.bin/calendar

Eitan Adler eadler at FreeBSD.org
Mon Mar 5 09:06:15 UTC 2018


Author: eadler
Date: Mon Mar  5 09:06:14 2018
New Revision: 330484
URL: https://svnweb.freebsd.org/changeset/base/330484

Log:
  MFC r327117:
  
  calendar: add missing header file
  
  time.h is required for strftime and struct tm

Modified:
  stable/11/usr.bin/calendar/io.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.bin/calendar/io.c
==============================================================================
--- stable/11/usr.bin/calendar/io.c	Mon Mar  5 09:05:37 2018	(r330483)
+++ stable/11/usr.bin/calendar/io.c	Mon Mar  5 09:06:14 2018	(r330484)
@@ -57,6 +57,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