about summary refs log tree commit diff
path: root/btpd/download_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'btpd/download_subr.c')
-rw-r--r--btpd/download_subr.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/btpd/download_subr.c b/btpd/download_subr.c
index d12efa9..2f57f07 100644
--- a/btpd/download_subr.c
+++ b/btpd/download_subr.c
@@ -19,15 +19,10 @@
  *
  */
 
-#include <fcntl.h>
-#include <math.h>
-#include <string.h>
-#include <unistd.h>
+#include "btpd.h"
 
 #include <openssl/sha.h>
-
-#include "btpd.h"
-#include "stream.h"
+#include <stream.h>
 
 static struct piece *
 piece_alloc(struct net *n, uint32_t index)