Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
3ac083ca
Commit
3ac083ca
authored
Jan 03, 2012
by
Geraud CONTINSOUZAS
Committed by
Rafaël Carré
Jan 02, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix missing dirfd references for FreeBSD
Signed-off-by:
Rafaël Carré
<
funman@videolan.org
>
parent
28f37b5f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
compat/dirfd.c
compat/dirfd.c
+1
-1
include/vlc_fixups.h
include/vlc_fixups.h
+1
-1
No files found.
compat/dirfd.c
View file @
3ac083ca
...
...
@@ -27,7 +27,7 @@
int
dirfd
(
DIR
*
dir
)
{
#if defined (__sun__)
#if defined (__sun__)
|| defined (__FreeBSD__)
return
dir
->
dd_fd
;
#elif defined (__APPLE__)
return
dir
->
__dd_fd
;
...
...
include/vlc_fixups.h
View file @
3ac083ca
...
...
@@ -183,7 +183,7 @@ int fsync (int fd);
/* dirent.h */
#ifndef HAVE_DIRFD
#if defined(__APPLE__) || defined(__OS2__)
#if defined(__APPLE__) || defined(__OS2__)
|| defined(__FreeBSD__)
#undef dirfd
#endif
int
dirfd
(
DIR
*
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment