Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
89dac2e3
Commit
89dac2e3
authored
Nov 23, 2007
by
Karl Heyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor header cleanup
svn path=/icecast/trunk/icecast/; revision=14219
parent
6ee33215
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
7 deletions
+12
-7
src/compat.h
src/compat.h
+11
-3
src/connection.c
src/connection.c
+0
-2
src/main.c
src/main.c
+1
-0
src/slave.c
src/slave.c
+0
-2
No files found.
src/compat.h
View file @
89dac2e3
...
...
@@ -20,12 +20,20 @@
* Solaris.
*/
#ifdef _WIN32
#include <windows.h>
#else
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
#else
# ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
# else
# include <time.h>
# endif
#endif
/* Make sure we define 64 bit types */
#ifdef _WIN32
...
...
src/connection.c
View file @
89dac2e3
...
...
@@ -19,7 +19,6 @@
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <time.h>
#ifdef HAVE_POLL
#include <sys/poll.h>
#endif
...
...
@@ -27,7 +26,6 @@
#include <sys/stat.h>
#ifndef _WIN32
#include <sys/time.h>
#include <sys/socket.h>
#include <netinet/in.h>
#else
...
...
src/main.c
View file @
89dac2e3
...
...
@@ -56,6 +56,7 @@
#ifdef _WIN32
/* For getpid() */
#include <process.h>
#include <windows.h>
#define snprintf _snprintf
#define getpid _getpid
#endif
...
...
src/slave.c
View file @
89dac2e3
...
...
@@ -25,11 +25,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <sys/types.h>
#ifndef _WIN32
#include <sys/time.h>
#include <sys/socket.h>
#include <netinet/in.h>
#else
...
...
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