Skip to content
Snippets Groups Projects
Commit f6f7c7e2 authored by Andy Green's avatar Andy Green
Browse files

TCP_USER_TIMEOUT: make sure we include the correct header if linux

parent a4b44320
Branches
Tags
No related merge requests found
/*
* libwebsockets - small server side websockets and web server implementation
*
* Copyright (C) 2010-2017 Andy Green <andy@warmcat.com>
* Copyright (C) 2010-2018 Andy Green <andy@warmcat.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
......@@ -30,6 +30,10 @@
#endif
#include <dirent.h>
#if defined(LWS_HAVE_TCP_USER_TIMEOUT) && defined(__linux__)
#include <linux/tcp.h>
#endif
int
lws_plat_socket_offset(void)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment