Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
cpp-libs
libnice
Commits
b1edade4
Commit
b1edade4
authored
Jul 24, 2009
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include sys/time.h in timer.h instead of timer.c since we need it for the struct timeval
parent
7120cdbd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
stun/usages/timer.c
stun/usages/timer.c
+0
-4
stun/usages/timer.h
stun/usages/timer.h
+2
-0
No files found.
stun/usages/timer.c
View file @
b1edade4
...
@@ -41,16 +41,12 @@
...
@@ -41,16 +41,12 @@
#define WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <windows.h>
#else
#else
#include <sys/time.h>
#include <unistd.h>
#include <unistd.h>
#endif
#endif
#include "timer.h"
#include "timer.h"
#include <stdlib.h>
/* div() */
#include <stdlib.h>
/* div() */
#include <time.h>
#include <sys/types.h>
/*
/*
...
...
stun/usages/timer.h
View file @
b1edade4
...
@@ -102,9 +102,11 @@
...
@@ -102,9 +102,11 @@
#include <winsock2.h>
#include <winsock2.h>
#else
#else
# include <sys/types.h>
# include <sys/types.h>
# include <sys/time.h>
# include <time.h>
# include <time.h>
#endif
#endif
/**
/**
* StunTimer:
* StunTimer:
*
*
...
...
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