summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2007-11-04 16:52:52 +0000
committerroot <root>2007-11-04 16:52:52 +0000
commitd68da9db1b34dbd6f29a0576bc897a9c49e4d7ed (patch)
treeddf326b6f90f6455c80bf012c79a208558b8d704 /ev.c
parent305af5e87583383e4059c39dfa146621c5ec8be9 (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ev.c b/ev.c
index 790baee..a80ed9c 100644
--- a/ev.c
+++ b/ev.c
@@ -28,7 +28,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef EV_STANDALONE
+#ifndef EV_EMBED
# include "config.h"
#endif
@@ -95,7 +95,9 @@
#define PID_HASHSIZE 16 /* size of pid hash table, must be power of two */
/*#define CLEANUP_INTERVAL 300. /* how often to try to free memory and re-check fds */
-#include "ev.h"
+#ifndef EV_EMBED
+# include "ev.h"
+#endif
#if __GNUC__ >= 3
# define expect(expr,value) __builtin_expect ((expr),(value))