X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet_socket.c;h=5111ec25d2773635752896db8f1094ba124d78d4;hp=73e5fb61abede992e6b4a72bb5cd9189f05de51e;hb=97d492d9e23f43fe4c8a5ca8c95747088cf32f98;hpb=e69d2258032362c85c5936a5c137c70227e59332 diff --git a/src/net_socket.c b/src/net_socket.c index 73e5fb61..5111ec25 100644 --- a/src/net_socket.c +++ b/src/net_socket.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: net_socket.c,v 1.1.2.11 2002/03/27 14:02:36 guus Exp $ + $Id: net_socket.c,v 1.1.2.12 2002/04/18 20:09:05 zarq Exp $ */ #include "config.h" @@ -66,6 +66,10 @@ #include "system.h" +#ifndef HAVE_RAND_PSEUDO_BYTES +#define RAND_pseudo_bytes RAND_bytes +#endif + int addressfamily = AF_INET; int maxtimeout = 900; int seconds_till_retry = 5;