summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/event.h1
-rw-r--r--include/fdlist.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/event.h b/include/event.h
index f9b6ab0..a01c1f1 100644
--- a/include/event.h
+++ b/include/event.h
@@ -24,6 +24,7 @@
#ifndef INCLUDED_event_h
#define INCLUDED_event_h
+#include "client.h"
/*
* How many event entries we need to allocate at a time in the block
diff --git a/include/fdlist.h b/include/fdlist.h
index 06313ec..cc36896 100644
--- a/include/fdlist.h
+++ b/include/fdlist.h
@@ -92,7 +92,7 @@ typedef struct _fde {
struct _fde *hnext;
} fde_t;
-#define FD_HASH_SIZE CLIENT_HEAP_SIZE
+#define FD_HASH_SIZE 1024
extern int number_fd;
extern int hard_fdlimit;