simple_time: include unistd.h for sleep(3)
authorColin McCabe <cmccabe@alumni.cmu.edu>
Mon, 15 Feb 2010 03:52:29 +0000 (19:52 -0800)
committerColin McCabe <cmccabe@alumni.cmu.edu>
Mon, 15 Feb 2010 03:52:29 +0000 (19:52 -0800)
simple_time.c

index eea422f..86b92f9 100644 (file)
@@ -1,6 +1,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <time.h>
+#include <unistd.h>
 
 /* Prints a time on a single line of the console.
  * I wrote this app so that I could measure times by repeatedly pressing