lib: Add a few required includes
[samba4-gss.git] / tests / summary.c
blobea48975316e62050b49fae5641fc5cbc50c6c53c
1 #include <stdio.h>
3 void exit(int);
5 int main(void)
7 #if !defined(HAVE_FCNTL_LOCK)
8 #error "ERROR: No locking available. Running Samba would be unsafe"
9 #endif
11 #if !(defined(HAVE_IFACE_GETIFADDRS) || defined(HAVE_IFACE_IFCONF) || defined(HAVE_IFACE_IFREQ) || defined(HAVE_IFACE_AIX))
12 #warning "WARNING: No automated network interface determination"
13 #endif
15 #if !(defined(USE_SETEUID) || defined(USE_SETREUID) || defined(USE_SETRESUID) || defined(USE_SETUIDX) || defined(HAVE_LINUX_THREAD_CREDENTIALS))
16 #error "ERROR: no seteuid method available"
17 #endif
19 #if !(defined(STAT_STATVFS) || defined(STAT_STATFS3_OSF1) || defined(STAT_STATFS2_BSIZE) || defined(STAT_STATFS4) || defined(STAT_STATFS2_FSIZE) || defined(STAT_STATFS2_FS_DATA))
20 #error "ERROR: No disk free routine!"
21 #endif
23 #if !((defined(HAVE_RANDOM) || defined(HAVE_RAND)) && (defined(HAVE_SRANDOM) || defined(HAVE_SRAND)))
24 #error "ERROR: No random or srandom routine!"
25 #endif
27 exit(0);