Blame src/xcb_windefs.h

Packit 071ada
/* Copyright (C) 2009 Jatin Golani.
Packit 071ada
 *
Packit 071ada
 * Permission is hereby granted, free of charge, to any person obtaining a
Packit 071ada
 * copy of this software and associated documentation files (the "Software"),
Packit 071ada
 * to deal in the Software without restriction, including without limitation
Packit 071ada
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Packit 071ada
 * and/or sell copies of the Software, and to permit persons to whom the
Packit 071ada
 * Software is furnished to do so, subject to the following conditions:
Packit 071ada
 * 
Packit 071ada
 * The above copyright notice and this permission notice shall be included in
Packit 071ada
 * all copies or substantial portions of the Software.
Packit 071ada
 * 
Packit 071ada
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
Packit 071ada
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
Packit 071ada
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
Packit 071ada
 * AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
Packit 071ada
 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
Packit 071ada
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Packit 071ada
 * 
Packit 071ada
 * Except as contained in this notice, the names of the authors or their
Packit 071ada
 * institutions shall not be used in advertising or otherwise to promote the
Packit 071ada
 * sale, use or other dealings in this Software without prior written
Packit 071ada
 * authorization from the authors.
Packit 071ada
 */
Packit 071ada
Packit 071ada
Packit 071ada
#ifndef _XCB_WINDEFS_H
Packit 071ada
#define _XCB_WINDEFS_H
Packit 071ada
Packit 071ada
#ifndef WINVER
Packit 071ada
#define WINVER 0x0501 /* required for getaddrinfo/freeaddrinfo defined only for WinXP and above */
Packit 071ada
#endif
Packit 071ada
Packit 071ada
#include <winsock2.h>
Packit 071ada
#include <ws2tcpip.h>
Packit 071ada
#include <windef.h>
Packit 071ada
Packit 071ada
struct iovec  {
Packit 071ada
    void *iov_base;    /* Pointer to data.  */
Packit 071ada
    int iov_len;       /* Length of data.  */
Packit 071ada
};
Packit 071ada
Packit 071ada
typedef unsigned int in_addr_t;
Packit 071ada
Packit 071ada
#endif /* xcb_windefs.h */