Skip to content

Commit

Permalink
use proper header (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoby authored May 14, 2021
1 parent 9163a90 commit 91fb8ae
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions library/posture.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ limitations under the License.
#include <wincrypt.h>
#include <bcrypt.h>
#include <tlhelp32.h>
#include <lmcons.h>
#include <lmapibuf.h>
#include <lmjoin.h>

#pragma comment(lib, "netapi32.lib")
#pragma comment(lib, "bcrypt.lib")
Expand All @@ -31,13 +34,6 @@ typedef NTSTATUS (NTAPI *sRtlGetVersion)
(PRTL_OSVERSIONINFOW lpVersionInformation);
extern sRtlGetVersion pRtlGetVersion;

extern DWORD NetGetJoinInformation (
LPCWSTR lpServer,
LPWSTR *lpNameBuffer,
uint32_t *BufferType);
extern DWORD NetApiBufferFree(
LPVOID Buffer
);
#elif __APPLE__ && __MACH__
#include <libproc.h>
#endif
Expand Down

0 comments on commit 91fb8ae

Please sign in to comment.