Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
212ec5fa
Commit
212ec5fa
authored
12 years ago
by
Martin Storsjö
Browse files
Options
Downloads
Patches
Plain Diff
tools: Include io.h for open/read/write/close if unistd.h doesn't exist
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
3ad9eac5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/cws2fws.c
+6
-0
6 additions, 0 deletions
tools/cws2fws.c
tools/pktdumper.c
+6
-0
6 additions, 0 deletions
tools/pktdumper.c
with
12 additions
and
0 deletions
tools/cws2fws.c
+
6
−
0
View file @
212ec5fa
...
@@ -6,11 +6,17 @@
...
@@ -6,11 +6,17 @@
* This utility converts compressed Macromedia Flash files to uncompressed ones.
* This utility converts compressed Macromedia Flash files to uncompressed ones.
*/
*/
#include
"config.h"
#include
<sys/stat.h>
#include
<sys/stat.h>
#include
<fcntl.h>
#include
<fcntl.h>
#include
<stdio.h>
#include
<stdio.h>
#include
<stdlib.h>
#include
<stdlib.h>
#if HAVE_UNISTD_H
#include
<unistd.h>
#include
<unistd.h>
#endif
#if HAVE_IO_H
#include
<io.h>
#endif
#include
<zlib.h>
#include
<zlib.h>
#ifdef DEBUG
#ifdef DEBUG
...
...
This diff is collapsed.
Click to expand it.
tools/pktdumper.c
+
6
−
0
View file @
212ec5fa
...
@@ -18,12 +18,18 @@
...
@@ -18,12 +18,18 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
*/
#include
"config.h"
#include
<limits.h>
#include
<limits.h>
#include
<fcntl.h>
#include
<fcntl.h>
#include
<stdio.h>
#include
<stdio.h>
#include
<stdlib.h>
#include
<stdlib.h>
#include
<string.h>
#include
<string.h>
#if HAVE_UNISTD_H
#include
<unistd.h>
#include
<unistd.h>
#endif
#if HAVE_IO_H
#include
<io.h>
#endif
#include
"libavutil/time.h"
#include
"libavutil/time.h"
#include
"libavformat/avformat.h"
#include
"libavformat/avformat.h"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment