socklen_t fix

git-svn: trunk@2223
remotes/push_mirror/metadata
Tomasz Kojm 19 years ago
parent 4c8f2d76ff
commit e4aef95004
  1. 7
      clamav-devel/freshclam/nonblock.c
  2. 6
      clamav-devel/freshclam/nonblock.h

@ -16,6 +16,12 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#include "nonblock.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@ -32,7 +38,6 @@
#include <clamav.h>
#include <errno.h>
#include "nonblock.h"
#include "output.h"
#ifndef timercmp

@ -19,6 +19,12 @@
#ifndef __NONBLOCK_H
#define __NONBLOCK_H
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#include <sys/socket.h>
/*
wait_connect(): wrapper for connect(), with explicit 'secs' timeout
*/

Loading…
Cancel
Save