]> git.tuebingen.mpg.de Git - dss.git/commitdiff
dss.c: Add missing inclusion of <stdio.h>.
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 7 Jun 2016 14:29:38 +0000 (16:29 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 21 Aug 2016 19:13:25 +0000 (21:13 +0200)
This is required for example for rename(2). Compilation succeeds without
the include only because the gengetopt header includes stdio.h as well and
we happen to include this header before fd.h.

dss.c

diff --git a/dss.c b/dss.c
index 5f7cfe04599ef8c60b7a68c94ff26cd44117e28d..03ddaf89c1493c10bef79e7c0f36c9180d2410e5 100644 (file)
--- a/dss.c
+++ b/dss.c
@@ -5,6 +5,7 @@
  */
 #include <string.h>
 #include <stdlib.h>
+#include <stdio.h>
 #include <stdarg.h>
 #include <assert.h>
 #include <errno.h>