r12794: BUG 3340: patch from William JoJo <jojowil@hvcc.edu> to fix automatic inclusi...
authorGerald Carter <jerry@samba.org>
Mon, 9 Jan 2006 15:54:16 +0000 (15:54 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:06:03 +0000 (11:06 -0500)
source/include/includes.h

index f704fcb6874a278860cf554a6c33c2c270df8155..44b5ea1bd79a71c277143e76304a9b335304dfcc 100644 (file)
 #include <langinfo.h>
 #endif
 
-#ifdef HAVE_AIO_H
+#if defined(HAVE_AIO_H) && defined(WITH_AIO)
 #include <aio.h>
 #endif