pkgsrc/x11/kdelibs4/patches/patch-kjs_date_object.h
mrg 1d3912e163 instead of removing "struct tm;", include <ctime>. also, the file
is called date_object.h.  fixes GCC 6 build.
2018-02-08 10:50:44 +00:00

16 lines
366 B
C++

$NetBSD: patch-kjs_date_object.h,v 1.1 2018/02/08 10:50:44 mrg Exp $
Replace bogus forward declaration with <ctime> include.
--- kjs/date_object.h.orig 2017-11-05 01:51:22.000000000 +0000
+++ kjs/date_object.h
@@ -24,8 +24,8 @@
#include "function.h"
#include "JSWrapperObject.h"
-struct tm;
+#include <ctime>
namespace KJS {
class FunctionPrototype;