summaryrefslogtreecommitdiff
path: root/eio.c
diff options
context:
space:
mode:
authorroot <root>2011-06-05 19:58:37 +0000
committerroot <root>2011-06-05 19:58:37 +0000
commit653e0063cb266d51505942ab3642db3401aa7806 (patch)
treea892176bf259c1dca868b4bf6322817682e08f1e /eio.c
parentfab2920f9835dd64d82e321e7e65b9eb09550dba (diff)
*** empty log message ***
Diffstat (limited to 'eio.c')
-rw-r--r--eio.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/eio.c b/eio.c
index d19df11..4ab2dd3 100644
--- a/eio.c
+++ b/eio.c
@@ -60,6 +60,12 @@
#include <fcntl.h>
#include <assert.h>
+/* intptr_t comes from unistd.h, says POSIX/UNIX/tradition */
+/* intptr_t only comes form stdint.h, says idiot openbsd coder */
+#if HAVE_STDINT_H
+# include <stdint.h>
+#endif
+
#ifndef EIO_FINISH
# define EIO_FINISH(req) ((req)->finish) && !EIO_CANCELLED (req) ? (req)->finish (req) : 0
#endif