{"action":"created","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/122","repository_url":"https://api.github.com/repos/esp8266/Arduino","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/122/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/122/events","html_url":"https://github.com/esp8266/Arduino/issues/122","id":71099564,"number":122,"title":"tmElements_t has not been declared","user":{"login":"onkelfunny","id":11997795,"avatar_url":"https://avatars.githubusercontent.com/u/11997795?v=3","gravatar_id":"","url":"https://api.github.com/users/onkelfunny","html_url":"https://github.com/onkelfunny","followers_url":"https://api.github.com/users/onkelfunny/followers","following_url":"https://api.github.com/users/onkelfunny/following{/other_user}","gists_url":"https://api.github.com/users/onkelfunny/gists{/gist_id}","starred_url":"https://api.github.com/users/onkelfunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onkelfunny/subscriptions","organizations_url":"https://api.github.com/users/onkelfunny/orgs","repos_url":"https://api.github.com/users/onkelfunny/repos","events_url":"https://api.github.com/users/onkelfunny/events{/privacy}","received_events_url":"https://api.github.com/users/onkelfunny/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-26T18:02:29Z","updated_at":"2016-04-30T22:48:35Z","closed_at":"2015-04-26T19:14:19Z","body":"I try to Compile the DS3232RTC library and receive this error:\r\n\r\nArduino/libraries/DS3232RTC/DS3232RTC.h:137:26: error: 'tmElements_t' has not been declared\r\n         static byte read(tmElements_t &tm);\r\n                          ^\r\nArduino/libraries/DS3232RTC/DS3232RTC.h:138:20: error: 'tmElements_t' has not been declared\r\n         byte write(tmElements_t &tm);\r\n\r\nWhat can i do to fix this?"},"comment":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/comments/216000590","html_url":"https://github.com/esp8266/Arduino/issues/122#issuecomment-216000590","issue_url":"https://api.github.com/repos/esp8266/Arduino/issues/122","id":216000590,"user":{"login":"reePIman","id":16890483,"avatar_url":"https://avatars.githubusercontent.com/u/16890483?v=3","gravatar_id":"","url":"https://api.github.com/users/reePIman","html_url":"https://github.com/reePIman","followers_url":"https://api.github.com/users/reePIman/followers","following_url":"https://api.github.com/users/reePIman/following{/other_user}","gists_url":"https://api.github.com/users/reePIman/gists{/gist_id}","starred_url":"https://api.github.com/users/reePIman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reePIman/subscriptions","organizations_url":"https://api.github.com/users/reePIman/orgs","repos_url":"https://api.github.com/users/reePIman/repos","events_url":"https://api.github.com/users/reePIman/events{/privacy}","received_events_url":"https://api.github.com/users/reePIman/received_events","type":"User","site_admin":false},"created_at":"2016-04-30T22:48:35Z","updated_at":"2016-04-30T22:48:35Z","body":"I had this problem as well but resolved it by removing the #include <Time.h> and then re-including the library.  After re-including the library it included both Time and Timelib header files and viola it worked.  In the process of debugging this I also upgraded to Arduino IDE 1.6.8."}}