mirror of
https://github.com/samba-team/samba.git
synced 2025-11-25 00:23:52 +03:00
r20819: - include system/aio.h
- use full prototype for main - use ifdef instead if metze
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
1b10cbb629
commit
b3a3c44f42
@@ -22,7 +22,7 @@
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#if HAVE_LIBAIO_H
|
||||
#ifdef HAVE_LIBAIO_H
|
||||
#include <libaio.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
#include "system/terminal.h"
|
||||
#include "system/time.h"
|
||||
#include "system/wait.h"
|
||||
#include "system/aio.h"
|
||||
|
||||
#define TESTFILE "testfile.dat"
|
||||
|
||||
@@ -470,7 +471,7 @@ bool torture_local_replace(struct torture_context *ctx)
|
||||
}
|
||||
|
||||
#if _SAMBA_BUILD_<4
|
||||
int main()
|
||||
int main(void)
|
||||
{
|
||||
bool ret = torture_local_replace(NULL);
|
||||
if (ret)
|
||||
|
||||
Reference in New Issue
Block a user