From 27dd798dc3570ebe61f5afc4a8a77ef1e83fcac8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 4 Oct 2015 19:36:55 +0000 Subject: Fix compilation on BSD git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5744 a436a847-0d15-0410-975c-d299462d15a1 --- src/util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/util.c b/src/util.c index 7def7bd..6c03a94 100644 --- a/src/util.c +++ b/src/util.c @@ -48,6 +48,7 @@ CreateSymbolicLink(LPCTSTR linkpath, LPCTSTR targetpath, DWORD flags) # endif /* _MSC_VER < 1500 */ #else # include +# include # include #endif @@ -310,7 +311,7 @@ lilv_copy_file(const char* src, const char* dst) } if (!st && (ferror(in) || ferror(out))) { - st = EBADFD; + st = EBADF; } free(page); -- cgit v1.2.1