Skip to content

Commit

Permalink
do not include winapi.h when not on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Apr 13, 2016
1 parent c5f46a6 commit b969bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/unittests/junction_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ extern "C" {
#include <cmocka.h>
}

#ifdef HAVE_WIN32
#include "bareos.h"
#include "winapi.h"

bool CreateJunction(const char *szJunction, const char *szPath);


#ifdef HAVE_WIN32
/*
* Test the CreateJunction functionality
* - create target directory
Expand Down

0 comments on commit b969bc4

Please sign in to comment.