commit | c78b141e7ecef82e745b4914f8cabff23ee5e566 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Wed Feb 19 14:08:26 2014 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Wed Feb 19 16:16:10 2014 -0800 |
tree | f734a5426ad82343d8514e5d25e7f0674de8b6d0 | |
parent | 9cec8ee5a8ed696f3c4ee9021a5109a5c53d3d68 [diff] [blame] |
build: Detecting if UNIX socket is available and disabling it if it is not Change-Id: Iacdffe36223c085136a4fe09587ce304a3029853
diff --git a/daemon/face/unix-stream-face.hpp b/daemon/face/unix-stream-face.hpp index c04bec2..cc97c21 100644 --- a/daemon/face/unix-stream-face.hpp +++ b/daemon/face/unix-stream-face.hpp
@@ -9,6 +9,10 @@ #include "stream-face.hpp" +#ifndef HAVE_UNIX_SOCKETS +#error "Cannot include this file when UNIX sockets are not available" +#endif + namespace nfd {