Skip to content

Commit

Permalink
Add #includes for OpenBSD
Browse files Browse the repository at this point in the history
Add includes for <sys/types.h> and <netinet/in.h> to rtp.c and rtsp.c, needed
for the declarations of IPPROTO_TCP, IPV6_V6ONLY, and others.
  • Loading branch information
mrpippy committed Apr 2, 2013
1 parent 2e2dde1 commit 9896ed8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
#include <signal.h>
#include <unistd.h>
#include <memory.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include "common.h"
#include "player.h"
Expand Down
1 change: 1 addition & 0 deletions rtsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <memory.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/select.h>
#include <signal.h>
#include <netdb.h>
Expand Down

0 comments on commit 9896ed8

Please sign in to comment.