Include <ctime> rather than <sys/time.h> in gpgmepp
Needs ReviewPublic

Authored by dvratil on Mon, Nov 2, 4:18 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Since gpgmepp is a C++ library, prefer using C++ headers over C headers.
Using ctime also improves portability to platforms where sys/time.h doesn't
exist (e.g. MSVC).

The header provides the same default type defines as sys/time.h so this change
is both source and binary compatible.

Test Plan

Builds on Linux

Diff Detail

Repository
rM GPGME
Lint
Lint Skipped
Unit
Unit Tests Skipped
dvratil created this revision.Mon, Nov 2, 4:18 PM