Commit c2e6060b authored by Niels Möller's avatar Niels Möller
Browse files

Include lsh_types.h *first*.

Rev: src/bignum.h:1.9
Rev: src/io.h:1.17
parent cea86108
......@@ -26,14 +26,14 @@
#ifndef LSH_BIGNUM_H_INCLUDED
#define LSH_BIGNUM_H_INCLUDED
#include "lsh_types.h"
#include "randomness.h"
/* Needed for the declaration of mpz_out_str */
#include <stdio.h>
#include <gmp.h>
#include "lsh_types.h"
#include "randomness.h"
void bignum_parse_s(mpz_t n, UINT32 length, UINT8 *data);
void bignum_parse_u(mpz_t n, UINT32 length, UINT8 *data);
......
......@@ -26,13 +26,13 @@
#ifndef LSH_IO_H_INCLUDED
#define LSH_IO_H_INCLUDED
#include "abstract_io.h"
#include "write_buffer.h"
#include <time.h>
#include <netdb.h>
#include <netinet/in.h>
#include "abstract_io.h"
#include "write_buffer.h"
struct io_fd
{
struct lsh_object header;
......@@ -128,6 +128,7 @@ struct io_backend
void init_backend(struct io_backend *b);
int io_iter(struct io_backend *b);
void io_run(struct io_backend *b);
int get_inaddr(struct sockaddr_in * addr,
......@@ -165,4 +166,6 @@ struct io_fd *io_write(struct io_backend *b,
UINT32 block_size,
struct close_callback *close_callback);
void close_fd(struct io_fd *fd);
#endif /* LSH_IO_H_INCLUDED */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment