Skip to content

Commit

Permalink
Fixed header file
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed Dec 31, 2013
1 parent 408d481 commit b60fb1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions yar_protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
#include "php.h"
#include "php_yar.h"
#include "yar_protocol.h"
#if HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif

void php_yar_protocol_render(yar_header_t *header, uint id, char *provider, char *token, uint body_len, uint reserved TSRMLS_DC) /* {{{ */ {
header->magic_num = htonl(YAR_PROTOCOL_MAGIC_NUM);
Expand Down

0 comments on commit b60fb1d

Please sign in to comment.