~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to lib/replace/system/select.h

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _system_select_h
 
2
#define _system_select_h
 
3
/* 
 
4
   Unix SMB/CIFS implementation.
 
5
 
 
6
   select system include wrappers
 
7
 
 
8
   Copyright (C) Andrew Tridgell 2004
 
9
   
 
10
     ** NOTE! The following LGPL license applies to the replace
 
11
     ** library. This does NOT imply that all of Samba is released
 
12
     ** under the LGPL
 
13
   
 
14
   This library is free software; you can redistribute it and/or
 
15
   modify it under the terms of the GNU Lesser General Public
 
16
   License as published by the Free Software Foundation; either
 
17
   version 3 of the License, or (at your option) any later version.
 
18
 
 
19
   This library is distributed in the hope that it will be useful,
 
20
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
21
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
22
   Lesser General Public License for more details.
 
23
 
 
24
   You should have received a copy of the GNU Lesser General Public
 
25
   License along with this library; if not, see <http://www.gnu.org/licenses/>.
 
26
 
 
27
*/
 
28
 
 
29
#ifdef HAVE_SYS_SELECT_H
 
30
#include <sys/select.h>
 
31
#endif
 
32
 
 
33
#ifdef HAVE_SYS_EPOLL_H
 
34
#include <sys/epoll.h>
 
35
#endif
 
36
 
 
37
#ifndef SELECT_CAST
 
38
#define SELECT_CAST
 
39
#endif
 
40
 
 
41
#endif