summaryrefslogtreecommitdiff
path: root/src/basic/hexdecoct.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-11-30 21:43:37 +0100
committerSven Eden <yamakuzure@gmx.net>2017-05-17 15:22:14 +0200
commit2b5cdb47b5a4a367bc2be8fe4457423f785884f0 (patch)
tree454c00fad6328141b67aec9004a130c10ad05af6 /src/basic/hexdecoct.c
parent7fd82b1492ab3a8987095b237dc8c4b7ab6d00de (diff)
basic: include only what we use
This is a cleaned up result of running iwyu but without forward declarations on src/basic.
Diffstat (limited to 'src/basic/hexdecoct.c')
-rw-r--r--src/basic/hexdecoct.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/basic/hexdecoct.c b/src/basic/hexdecoct.c
index 7e84550b6..f30e028f4 100644
--- a/src/basic/hexdecoct.c
+++ b/src/basic/hexdecoct.c
@@ -20,11 +20,13 @@
***/
#include <ctype.h>
-#include <inttypes.h>
+#include <errno.h>
+#include <stdint.h>
+#include <stdlib.h>
#include "alloc-util.h"
#include "hexdecoct.h"
-#include "util.h"
+#include "macro.h"
char octchar(int x) {
return '0' + (x & 7);