diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-14 07:35:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:23:05 -0500 |
commit | 598aafe9b3d6302e15a6a990e911c0fd3c23f634 (patch) | |
tree | 2d7d5a9fe5429f13e73a49e8384ef915830b9c77 /source4 | |
parent | 0e5907d57cdfb0c1ce3f151161a9260c14466bd0 (diff) | |
download | samba-598aafe9b3d6302e15a6a990e911c0fd3c23f634.tar.gz samba-598aafe9b3d6302e15a6a990e911c0fd3c23f634.tar.bz2 samba-598aafe9b3d6302e15a6a990e911c0fd3c23f634.zip |
r8453: my solaris10 box doesn't have math.h
maybe sun isn't very good at maths?
(This used to be commit ab67c8b2b7847ecad803dfc04a66007b8f6b4abe)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/build/m4/rewrite.m4 | 2 | ||||
-rw-r--r-- | source4/lib/appweb/mpr/miniMpr.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source4/build/m4/rewrite.m4 b/source4/build/m4/rewrite.m4 index 71cb95cac2..5998801f0c 100644 --- a/source4/build/m4/rewrite.m4 +++ b/source4/build/m4/rewrite.m4 @@ -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) diff --git a/source4/lib/appweb/mpr/miniMpr.h b/source4/lib/appweb/mpr/miniMpr.h index 8b28472826..6fc4d50c31 100644 --- a/source4/lib/appweb/mpr/miniMpr.h +++ b/source4/lib/appweb/mpr/miniMpr.h @@ -74,8 +74,9 @@ #if QNX4 #include <dirent.h> #endif +#ifdef HAVE_MATH_H #include <math.h> - +#endif /********************************** Defines ***********************************/ #ifdef __cplusplus |