diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-07-25 03:28:45 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-07-25 03:28:45 +0000 |
commit | 7879d999ab59678e98b7385e88eda5cce2c2a9fd (patch) | |
tree | 89e97a75a70525a7aa54c4a8db4d7125ec8625be /source3/include | |
parent | 950d274bd9ba40167dfa386083017346e07bbadd (diff) | |
download | samba-7879d999ab59678e98b7385e88eda5cce2c2a9fd.tar.gz samba-7879d999ab59678e98b7385e88eda5cce2c2a9fd.tar.bz2 samba-7879d999ab59678e98b7385e88eda5cce2c2a9fd.zip |
a better test for unix domain sockets
(This used to be commit 7b3d030e1f869a842822d9a356a027cca6f3a725)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/config.h.in | 4 | ||||
-rw-r--r-- | source3/include/includes.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in index a76aee4005..7bf9923368 100644 --- a/source3/include/config.h.in +++ b/source3/include/config.h.in @@ -217,6 +217,7 @@ #undef HAVE_SNPRINTF_DECL #undef HAVE_VSNPRINTF_DECL #undef HAVE_NATIVE_ICONV +#undef HAVE_UNIXSOCKET /* The number of bytes in a int. */ #undef SIZEOF_INT @@ -947,9 +948,6 @@ /* Define if you have the <sys/time.h> header file. */ #undef HAVE_SYS_TIME_H -/* Define if you have the <sys/un.h> header file. */ -#undef HAVE_SYS_UN_H - /* Define if you have the <sys/unistd.h> header file. */ #undef HAVE_SYS_UNISTD_H diff --git a/source3/include/includes.h b/source3/include/includes.h index 87547f5253..2caeb255bd 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -107,7 +107,7 @@ #include <sys/socket.h> #endif -#ifdef HAVE_SYS_UN_H +#ifdef HAVE_UNIXSOCKET #include <sys/un.h> #endif |