Fixed restore.c to fix make errors
Merge pull request #2 from FrederickGeek8/master

Fixed restore.c to fix make errors