aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-09 10:29:58 +0000
committerMike Frysinger <vapier@gentoo.org>2008-11-09 10:29:58 +0000
commit090b53c17d70324947a49e8f5feb9cdc577cc989 (patch)
treeec0cd116b154399c850f6f89240e5e6b47d79519 /libsbutil/sb_read.c
parentcleanup whitespace and comments -- no functional changes (diff)
downloadsandbox-090b53c17d70324947a49e8f5feb9cdc577cc989.tar.gz
sandbox-090b53c17d70324947a49e8f5feb9cdc577cc989.tar.bz2
sandbox-090b53c17d70324947a49e8f5feb9cdc577cc989.zip
headers.h: consolidate all random system includes into one file
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libsbutil/sb_read.c')
-rw-r--r--libsbutil/sb_read.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libsbutil/sb_read.c b/libsbutil/sb_read.c
index 43fe3c7..5374576 100644
--- a/libsbutil/sb_read.c
+++ b/libsbutil/sb_read.c
@@ -7,15 +7,9 @@
* Licensed under the GPL-2
*/
-#include <errno.h>
-#include <stdio.h>
-#include <sys/stat.h>
-#include <unistd.h>
-#include <fcntl.h>
-
+#include "headers.h"
#include "sbutil.h"
-
/* General purpose function to _reliably_ read from a file.
*
* Returns total read bytes or -1 on error.