aboutsummaryrefslogtreecommitdiff
path: root/sim/common/dv-sockser.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-22 22:23:04 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-23 04:14:27 -0400
commit3649cb065699316bc8cd64b06f273c72f1806323 (patch)
treecf56f50cedc1a0d897cc271556c067a033d20d67 /sim/common/dv-sockser.c
parent80fc77e6c14835462fca0b7adc15655ce2e4bb99 (diff)
downloadgdb-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.c1
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