You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
446 B

  1. diff --git a/src/websockets.c b/src/websockets.c
  2. index 95f8a81..cf2b5e7 100644
  3. --- a/src/websockets.c
  4. +++ b/src/websockets.c
  5. @@ -72,7 +72,7 @@ struct libws_http_data {
  6. FILE *fptr;
  7. };
  8. -#ifndef HTTP_STATUS_NOT_FOUND
  9. +#ifndef LWS_FEATURE_SERVE_HTTP_FILE_HAS_OTHER_HEADERS_ARG
  10. /* This is libwebsockets 1.2.x or earlier, we have to degrade our capabilities.
  11. * Once lws 1.3 is widely available this should be removed. */
  12. # define LWS_IS_OLD