Ticket #43753: gnutls-timeh.patch

File gnutls-timeh.patch, 451 bytes (added by devernay (Frédéric Devernay), 10 years ago)

patchfile for the undeclared ::gmtime() and ::localtime() functions problem

  • lib/gnutlsxx.cpp

    old new  
    2020 *
    2121 */
    2222
     23#include <time.h>
    2324#ifdef HAVE_CONFIG_H
    2425# include <config.h>
    2526#endif
  • doc/examples/ex-cxx.cpp

    old new  
     1#include <time.h>
    12#include <config.h>
    23#include <iostream>
    34#include <stdexcept>