Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
4c7a79dd
Commit
4c7a79dd
authored
Oct 22, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compilation problems with OpenBSD.
parent
34487b0b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
include/common.h
include/common.h
+2
-1
include/netutils.h
include/netutils.h
+2
-1
src/misc/modules_core.h
src/misc/modules_core.h
+6
-2
No files found.
include/common.h
View file @
4c7a79dd
...
...
@@ -3,7 +3,7 @@
* Collection of useful common types and macros definitions
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: common.h,v 1.4
1 2001/09/28 09:57:08
massiot Exp $
* $Id: common.h,v 1.4
2 2001/10/22 12:28:53
massiot Exp $
*
* Authors: Samuel Hocevar <sam@via.ecp.fr>
* Vincent Seguin <seguin@via.ecp.fr>
...
...
@@ -206,6 +206,7 @@ struct pgrm_descriptor_s;
#else
# ifdef HAVE_VALLOC
/* That's like using a hammer to kill a fly, but eh... */
# include <unistd.h>
# define memalign(align,size) valloc(size)
# else
/* Assume malloc alignment is sufficient */
...
...
include/netutils.h
View file @
4c7a79dd
...
...
@@ -4,7 +4,7 @@
* modules.
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: netutils.h,v 1.1
4 2001/05/30 17:03:11 sam
Exp $
* $Id: netutils.h,v 1.1
5 2001/10/22 12:28:53 massiot
Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Henri Fallon <henri@videolan.org>
...
...
@@ -30,6 +30,7 @@
/*****************************************************************************
* Prototypes
*****************************************************************************/
struct
sockaddr_in
;
int
network_BuildLocalAddr
(
struct
sockaddr_in
*
,
int
,
char
*
);
int
network_BuildRemoteAddr
(
struct
sockaddr_in
*
,
char
*
);
int
network_ChannelJoin
(
int
);
...
...
src/misc/modules_core.h
View file @
4c7a79dd
...
...
@@ -2,7 +2,7 @@
* modules_core.h : Module management functions used by the core application.
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: modules_core.h,v 1.
3 2001/06/25 11:34:08 sam
Exp $
* $Id: modules_core.h,v 1.
4 2001/10/22 12:28:53 massiot
Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -42,12 +42,16 @@ module_load( char * psz_filename, module_handle_t * handle )
*
handle
=
LoadLibrary
(
psz_filename
);
return
(
*
handle
==
NULL
);
#el
se
#el
if defined(RTLD_NOW)
/* Do not open modules with RTLD_GLOBAL, or we are going to get namespace
* collisions when two modules have common public symbols */
*
handle
=
dlopen
(
psz_filename
,
RTLD_NOW
);
return
(
*
handle
==
NULL
);
#else
*
handle
=
dlopen
(
psz_filename
,
DL_LAZY
);
return
(
*
handle
==
NULL
);
#endif
}
...
...
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