sha1: Include <library.h> instead of directly including <arpa/inet.h>

On Windows we don't have <arpa/inet.h>
This commit is contained in:
Martin Willi
2014-06-04 15:53:02 +02:00
parent 2dbb719b76
commit 8f3a3656d3
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -18,7 +18,8 @@
*/
#include <string.h>
#include <arpa/inet.h>
#include <library.h>
#include "sha1_hasher.h"
@@ -257,4 +258,3 @@ sha1_hasher_t *sha1_hasher_create(hash_algorithm_t algo)
return &(this->public);
}
+1 -2
View File
@@ -16,7 +16,7 @@
#include "sha1_prf.h"
#include "sha1_hasher.h"
#include <arpa/inet.h>
#include <library.h>
typedef struct private_sha1_prf_t private_sha1_prf_t;
typedef struct private_sha1_hasher_t private_sha1_hasher_t;
@@ -148,4 +148,3 @@ sha1_prf_t *sha1_prf_create(pseudo_random_function_t algo)
return &this->public;
}