about summary refs log tree commit diff
path: root/manual/examples
diff options
context:
space:
mode:
Diffstat (limited to 'manual/examples')
-rw-r--r--manual/examples/dir.c1
-rw-r--r--manual/examples/select.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/manual/examples/dir.c b/manual/examples/dir.c
index 59ec62c84c..8ab77dc34c 100644
--- a/manual/examples/dir.c
+++ b/manual/examples/dir.c
@@ -1,5 +1,4 @@
 /*@group*/
-#include <stddef.h>
 #include <stdio.h>
 #include <sys/types.h>
 #include <dirent.h>
diff --git a/manual/examples/select.c b/manual/examples/select.c
index def2cd6f9f..a65ed77503 100644
--- a/manual/examples/select.c
+++ b/manual/examples/select.c
@@ -1,4 +1,5 @@
 /*@group*/
+#include <errno.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <sys/types.h>
@@ -6,7 +7,7 @@
 /*@end group*/
 
 /*@group*/
-int 
+int
 input_timeout (int filedes, unsigned int seconds)
 {
   fd_set set;