[PATCH 3/3] sim: dv-sockser: enable for mingw targets too

John Baldwin jhb@FreeBSD.org
Tue Jun 8 15:43:29 GMT 2021


On 6/7/21 10:10 PM, Mike Frysinger via Gdb-patches wrote:
> We have enough functionality from gnulib now to build sockser on
> all platforms.
> ---
>   sim/common/dv-sockser.c          |  6 +++++-
>   sim/m4/sim_ac_option_hardware.m4 | 16 +++++-----------
>   2 files changed, 10 insertions(+), 12 deletions(-)
> 
> diff --git a/sim/common/dv-sockser.c b/sim/common/dv-sockser.c
> index 7f1cf798e4b9..f1ef22a53a8e 100644
> --- a/sim/common/dv-sockser.c
> +++ b/sim/common/dv-sockser.c
> @@ -43,7 +43,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
>   #include <sys/socket.h>
>   
>   #ifndef __CYGWIN32__
> -#include <netinet/tcp.h>
> +//#include <netinet/tcp.h>
>   #endif
>   
>   #include "sim-assert.h"

This hunk looks like a temporary testing change?  Did you mean to remove the header
entirely?

-- 
John Baldwin


More information about the Gdb-patches mailing list