diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-03-22 22:23:04 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-03-23 04:14:27 -0400 |
commit | 3649cb065699316bc8cd64b06f273c72f1806323 (patch) | |
tree | cf56f50cedc1a0d897cc271556c067a033d20d67 /sim/common/dv-sockser.c | |
parent | 80fc77e6c14835462fca0b7adc15655ce2e4bb99 (diff) | |
download | gdb-3649cb065699316bc8cd64b06f273c72f1806323.zip gdb-3649cb065699316bc8cd64b06f273c72f1806323.tar.gz gdb-3649cb065699316bc8cd64b06f273c72f1806323.tar.bz2 |
sim: dv-sockser: add stub funcs when not available
This lets ports assume that the dv-sockser API is always available if
they want to. This way we don't have to do an abort at configure time
and it makes the resulting code a bit simpler.
Diffstat (limited to 'sim/common/dv-sockser.c')
-rw-r--r-- | sim/common/dv-sockser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/common/dv-sockser.c b/sim/common/dv-sockser.c index ac6fb50..313fa4f 100644 --- a/sim/common/dv-sockser.c +++ b/sim/common/dv-sockser.c @@ -18,6 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* FIXME: will obviously need to evolve. - connectionless sockets might be more appropriate. */ +#include "config.h" #include "sim-main.h" #ifdef HAVE_STRING_H |