/usr/include/wvstreams/wvwin32-sanitize.h is in libwvstreams-dev 4.6.1-11.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | #ifndef __WIN32_SANITIZE_H
#define __WIN32_SANITIZE_H
#ifdef __GNUC__
#include "wvautoconf.h"
#endif
#include <basetyps.h>
#include <objbase.h>
#include <signal.h>
#include <winsock.h>
#include <malloc.h>
#include <io.h>
#ifndef _SYS_GUID_OPERATOR_EQ_
#define _SYS_GUID_OPERATOR_EQ_ 1
#endif
#ifndef SIGALRM
#define SIGALRM 14
#endif
#ifndef SIGPIPE
#define SIGPIPE 13
#endif
#ifndef ECONNREFUSED
#define ECONNREFUSED WSAECONNREFUSED
#endif
#ifndef EWOULDBLOCK
#define EWOULDBLOCK WSAEWOULDBLOCK
#endif
typedef int socklen_t;
#ifdef __cplusplus
extern "C" {
#endif
unsigned int sleep(unsigned int secs);
extern pid_t getpid();
unsigned int alarm(unsigned int t);
int fsync(int fd);
#ifdef __cplusplus
}
#endif
// refer to _wvinitialize to ensure that we suck in some stuff that makes
// wvstreams actually work properly.
#ifdef __cplusplus
extern void *_wvinitialize;
static void *_wvinitialize_local = _wvinitialize;
#endif
// #define _alloca(x) alloca(x)
#endif // __WIN32_SANITIZE_H
|