commit | 3c56fb82804d15536f77b245c89156568819ca63 | [log] [tgz] |
---|---|---|
author | Joe Hershberger <joe.hershberger@ni.com> | Wed Apr 08 01:41:24 2015 -0500 |
committer | Simon Glass <sjg@chromium.org> | Sat Apr 18 11:11:35 2015 -0600 |
tree | 8ecdf2b54ff5445ed6428c963e9736c210cddf35 | |
parent | 717234e00249960df3a252c9188fc0abe9d8f4e3 [diff] |
net: Fix compile errors when SNTP enabled and not DATE When SNTP is enabled and DATE is not, to_tm() is not built in. It could be defined when TIMESTAMP is defined, so check for that. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>