1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

r8453: my solaris10 box doesn't have math.h

maybe sun isn't very good at maths?
(This used to be commit ab67c8b2b7)
This commit is contained in:
Andrew Tridgell 2005-07-14 07:35:48 +00:00 committed by Gerald (Jerry) Carter
parent 0e5907d57c
commit 598aafe9b3
2 changed files with 3 additions and 2 deletions

View File

@ -56,7 +56,7 @@ AC_HEADER_TIME
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(arpa/inet.h sys/select.h fcntl.h sys/fcntl.h sys/time.h)
AC_CHECK_HEADERS(utime.h grp.h sys/id.h limits.h memory.h net/if.h)
AC_CHECK_HEADERS(compat.h)
AC_CHECK_HEADERS(compat.h math.h)
AC_CHECK_HEADERS(sys/param.h ctype.h sys/wait.h sys/resource.h sys/ioctl.h sys/ipc.h sys/mode.h)
AC_CHECK_HEADERS(sys/mman.h sys/filio.h sys/priv.h sys/shm.h string.h strings.h stdlib.h sys/socket.h)
AC_CHECK_HEADERS(sys/vfs.h sys/fs/s5param.h sys/filsys.h termios.h termio.h)

View File

@ -74,8 +74,9 @@
#if QNX4
#include <dirent.h>
#endif
#ifdef HAVE_MATH_H
#include <math.h>
#endif
/********************************** Defines ***********************************/
#ifdef __cplusplus