diff options
| author | jsing <> | 2014-07-10 13:58:23 +0000 |
|---|---|---|
| committer | jsing <> | 2014-07-10 13:58:23 +0000 |
| commit | f8e6fe02fc43958d79cf9326eebabf8ef8d3ae34 (patch) | |
| tree | 520bd0eaa8855b175013ab92f4175f47f1099115 /src/lib/libcrypto/bio/bss_dgram.c | |
| parent | a2a7393cf3489febec569cfa8aab8735e4f58339 (diff) | |
| download | openbsd-f8e6fe02fc43958d79cf9326eebabf8ef8d3ae34.tar.gz openbsd-f8e6fe02fc43958d79cf9326eebabf8ef8d3ae34.tar.bz2 openbsd-f8e6fe02fc43958d79cf9326eebabf8ef8d3ae34.zip | |
Stop including standard headers via cryptlib.h - pull in the headers that
are needed in the source files that actually require them.
ok beck@ miod@
Diffstat (limited to 'src/lib/libcrypto/bio/bss_dgram.c')
| -rw-r--r-- | src/lib/libcrypto/bio/bss_dgram.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/lib/libcrypto/bio/bss_dgram.c b/src/lib/libcrypto/bio/bss_dgram.c index 0e0698d2ab..d06406aebd 100644 --- a/src/lib/libcrypto/bio/bss_dgram.c +++ b/src/lib/libcrypto/bio/bss_dgram.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bss_dgram.c,v 1.28 2014/06/12 15:49:28 deraadt Exp $ */ | 1 | /* $OpenBSD: bss_dgram.c,v 1.29 2014/07/10 13:58:22 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -57,15 +57,18 @@ | |||
| 57 | * | 57 | * |
| 58 | */ | 58 | */ |
| 59 | 59 | ||
| 60 | #include <sys/socket.h> | ||
| 61 | |||
| 62 | #include <netinet/in.h> | ||
| 60 | 63 | ||
| 61 | #include <stdio.h> | ||
| 62 | #include <errno.h> | 64 | #include <errno.h> |
| 65 | #include <netdb.h> | ||
| 66 | #include <stdio.h> | ||
| 67 | #include <string.h> | ||
| 63 | #include <unistd.h> | 68 | #include <unistd.h> |
| 69 | |||
| 64 | #include "cryptlib.h" | 70 | #include "cryptlib.h" |
| 65 | #include <openssl/bio.h> | 71 | #include <openssl/bio.h> |
| 66 | #include <netdb.h> | ||
| 67 | #include <sys/socket.h> | ||
| 68 | #include <netinet/in.h> | ||
| 69 | 72 | ||
| 70 | #ifndef OPENSSL_NO_DGRAM | 73 | #ifndef OPENSSL_NO_DGRAM |
| 71 | 74 | ||
