This file is part of MXE. See LICENSE.md for licensing information.

Contains ad hoc patches for cross building.

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Tue, 20 Aug 2019 21:39:19 +0200
Subject: [PATCH 1/1] remove unwanted dependencies from example program


diff --git a/examples/knownhosts.c b/examples/knownhosts.c
index 1111111..2222222 100644
--- a/examples/knownhosts.c
+++ b/examples/knownhosts.c
@@ -17,14 +17,11 @@ The goal is to show the API in action. It's not a reference on how terminal
 clients must be made or how a client should react.
  */
 
-#include "config.h"
-
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
-#include "libssh/priv.h"
 #include <libssh/libssh.h>
 #include "examples_common.h"
 
@@ -74,7 +71,7 @@ int verify_knownhost(ssh_session session)
         fprintf(stderr,"Could not find known host file. If you accept the host key here,\n");
         fprintf(stderr,"the file will be automatically created.\n");
         /* fallback to SSH_SERVER_NOT_KNOWN behavior */
-        FALL_THROUGH;
+        /* fallthrough */
     case SSH_SERVER_NOT_KNOWN:
         fprintf(stderr,
                 "The server is unknown. Do you trust the host key (yes/no)?\n");
