s3: Make smbd/aio.c not depend on aio.h anymore
[kai/samba.git] / source3 / lib / system.c
index fe8aec317da468827cc9bf42c28dd855f848d54a..fbfab3ec4fbcfe1916bd04045406ced8b431073c 100644 (file)
 #include <sys/prctl.h>
 #endif
 
+#if defined(HAVE_AIO_H)
+#include <aio.h>
+#endif
+
 /*
    The idea is that this file will eventually have wrappers around all
    important system calls in samba. The aims are: