commit | d63babaaa1e70310ed71be5c236b8538064bd811 | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Fri Oct 18 17:47:58 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Fri Oct 18 17:47:58 2013 -0700 |
tree | a9e68361877570d42617d6d55d0878708dce7f98 | |
parent | ba82c16fee1de12dbfb96fa42453c597610bf15a [diff] [blame] |
security: implement IdentityManager::selfSign.
diff --git a/ndn-cpp/c/util/time.c b/ndn-cpp/c/util/time.c index 314eead..4c3be3a 100644 --- a/ndn-cpp/c/util/time.c +++ b/ndn-cpp/c/util/time.c
@@ -4,8 +4,13 @@ * See COPYING for copyright and distribution information. */ +#include <ndn-cpp/ndn-cpp-config.h> +#if NDN_CPP_HAVE_TIME_H #include <time.h> +#endif +#if NDN_CPP_HAVE_SYS_TIME_H #include <sys/time.h> +#endif #include <math.h> #include <string.h> #include <stdio.h>