Skip to content

Commit

Permalink
Include windows.h instead of libloader.h
Browse files Browse the repository at this point in the history
Ticket: None
Changelog: None
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
  • Loading branch information
larsewi committed May 3, 2024
1 parent 3dfadfe commit 6a19180
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
#if HAVE_DLFCN_H
#include <dlfcn.h>
#elif defined(_WIN32)
#include <errhandlingapi.h>
#include <libloaderapi.h>
#include <windows.h>
#endif

#include "logger.h"
Expand Down

0 comments on commit 6a19180

Please sign in to comment.