diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2014-11-13 10:22:22 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2014-11-13 10:22:22 +0000 |
commit | 0ed4f879945c6e171f00fa010e047c79bf269548 (patch) | |
tree | 605ae9e80d7559c7bfb37f3899c767187ebdeda6 /libcc1/connection.cc | |
parent | 6a4f06787f9c0a9806a3f67a73dd12c33a8e8071 (diff) | |
download | gcc-0ed4f879945c6e171f00fa010e047c79bf269548.zip gcc-0ed4f879945c6e171f00fa010e047c79bf269548.tar.gz gcc-0ed4f879945c6e171f00fa010e047c79bf269548.tar.bz2 |
Enable libcc1 on Solaris
* configure.ac (libcc1_cv_lib_sockets): Check for -lsocket -lnsl.
* configure: Regenerate.
* connection.cc: Include <string.h>.
* libcc1.cc (libcc1_compile): Use AF_UNIX instead of AF_LOCAL.
From-SVN: r217471
Diffstat (limited to 'libcc1/connection.cc')
-rw-r--r-- | libcc1/connection.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcc1/connection.cc b/libcc1/connection.cc index 3e57bbc..5db4204 100644 --- a/libcc1/connection.cc +++ b/libcc1/connection.cc @@ -21,6 +21,7 @@ along with GCC; see the file COPYING3. If not see #include <string> #include <unistd.h> #include <sys/types.h> +#include <string.h> #include <errno.h> #include "marshall.hh" #include "connection.hh" |