Ignore:
Timestamp:
Nov 27, 2012, 4:56:06 PM (12 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated vendor to 3.6.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified vendor/current/lib/replace/poll.c

    r740 r746  
    3131#include "replace.h"
    3232#include "system/select.h"
     33#ifdef HAVE_SYS_TIME_H
     34#include <sys/time.h>
     35#endif
     36#ifdef HAVE_SYS_IOCTL_H
     37#include <sys/ioctl.h>
     38#endif
    3339
    3440
     
    4147        nfds_t i;
    4248
    43         if (fds == NULL) {
     49        if ((fds == NULL) && (nfds != 0)) {
    4450                errno = EFAULT;
    4551                return -1;
Note: See TracChangeset for help on using the changeset viewer.