openbsd-ports/mail/elm/patches/patch-src_date_c
jca 3fc9adbcf7 Unconditionally remove all references to sys/timeb.h. The code doesn't
attempt to use the obsolete struct timeb / ftime anyway.  ok naddy@
2013-12-07 23:28:39 +00:00

15 lines
400 B
Plaintext

$OpenBSD: patch-src_date_c,v 1.1 2013/12/07 23:28:39 jca Exp $
--- src/date.c.orig Sat Dec 7 23:47:36 2013
+++ src/date.c Sat Dec 7 23:47:49 2013
@@ -19,10 +19,6 @@ static char rcsid[] = "@(#)$Id: date.c,v 1.4.4.1 1999/
#include "headers.h"
#include "me.h"
-#ifdef BSD_TYPE
-# include <sys/timeb.h>
-#endif
-
#ifndef _POSIX_SOURCE
extern struct tm *localtime();
extern struct tm *gmtime();