It appears the slightly broken teastheaders was previously hiding
several header definition and protection bugs. Now found and fixed.
-
/*
* $Id$
*
#ifndef __WIN32_AIO_H__
#define __WIN32_AIO_H__
+#include "config.h"
+
#ifdef _SQUID_CYGWIN_
#include "squid_windows.h"
#endif
#endif
#ifdef _SQUID_MSWIN_
+
union sigval {
int sival_int; /* integer value */
void *sival_ptr; /* pointer value */
union sigval sigev_value; /* signal value */
};
-#endif
+// #endif
struct aiocb64 {
int aio_fildes; /* file descriptor */
int aio_open(const char *, int);
void aio_close(int);
-#endif
+#endif /* _SQUID_MSWIN_ */
+#endif /* __WIN32_AIO_H__ */
#ifndef __ASYNC_IO_H__
#define __ASYNC_IO_H__
+
#ifdef _SQUID_WIN32_
#include "aio_win32.h"
#else
#include <aio.h>
#endif
+/* for FREE* */
+#include "typedefs.h"
+
#define MAX_ASYNCOP 128
typedef enum {
#ifndef __STORE_DISKDIOSTRATEGY_H__
#define __STORE_DISKDIOSTRATEGY_H__
+#include "config.h"
+
struct diomsg;
/// \ingroup diskd
#ifndef __SQUID_DIOMSG_H__
#define __SQUID_DIOMSG_H__
+#include "config.h"
+
enum {
_MQD_NOP,
_MQD_OPEN,
static const int msg_snd_rcv_sz;
};
-
-#endif
+#endif /* __SQUID_DIOMSG_H__ */
#ifndef __DISKTHREADS_H__
#define __DISKTHREADS_H__
+#include "config.h"
+#include "dlink.h"
+#include "typedefs.h"
+
#ifdef AUFS_IO_THREADS
#define NUMTHREADS AUFS_IO_THREADS
#else