summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-07-22 16:40:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:18 -0500
commitaab62d24e1744ee4f84e8cac177bf49adc438c33 (patch)
tree88da36abc94a898e30f4dd89786a698866b5e3fc /source3
parentefc7ac209da61d2bd389ccd3b8c8d6d6a6b53989 (diff)
downloadsamba-aab62d24e1744ee4f84e8cac177bf49adc438c33.tar.gz
samba-aab62d24e1744ee4f84e8cac177bf49adc438c33.tar.bz2
samba-aab62d24e1744ee4f84e8cac177bf49adc438c33.zip
r17184: Attempt to get rid of some warnings on HP/UX. Without _XOPEN_SOURCE_EXTENDED
#defined getsockopt uses an int* as socklen parameter. Volker (This used to be commit 0b78da62f7481c6b3d46eb2f1b586d20b0b10ca5)
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index f28a7a8eb5..c84312f32a 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -628,6 +628,7 @@ case "$host_os" in
AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to use large file support])
AC_DEFINE(_ALIGNMENT_REQUIRED, 1, [Required alignment])
AC_DEFINE(_MAX_ALIGNMENT, 4, [Maximum alignment])
+ AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, [Unix 98 sources -- needed for socklen_t in getsockopt on HP/UX 11])
;;
esac
;;