projects
/
cmccabe-bin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
bd49683
)
simple_time: include unistd.h for sleep(3)
author
Colin McCabe
<cmccabe@alumni.cmu.edu>
Mon, 15 Feb 2010 03:52:29 +0000 (19:52 -0800)
committer
Colin McCabe
<cmccabe@alumni.cmu.edu>
Mon, 15 Feb 2010 03:52:29 +0000 (19:52 -0800)
simple_time.c
patch
|
blob
|
history
diff --git
a/simple_time.c
b/simple_time.c
index
eea422f
..
86b92f9
100644
(file)
--- a/
simple_time.c
+++ b/
simple_time.c
@@
-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