include stdio.h for freebsd

This commit is contained in:
ehouse 2006-03-21 04:05:33 +00:00
parent c5257adb8f
commit 2bcac176e9
3 changed files with 4 additions and 1 deletions

View file

@ -24,6 +24,7 @@
#include <pthread.h>
#include <netinet/in.h>
#include <stdarg.h>
#include <stdio.h>
#include "cref.h"
#include "xwrelay.h"
@ -798,7 +799,7 @@ CookieRef::logf( XW_LogLevel level, const char* format, ... )
char buf[256];
int len;
len = snprintf( buf, sizeof(buf), "cid:%d ", m_cookieID );
len = snprintf( buf, sizeof(buf), "cid:%d ", m_cookieID );
va_list ap;
va_start( ap, format );

View file

@ -19,6 +19,7 @@
*/
#include <assert.h>
#include <stdio.h>
#include <pthread.h>
#include "crefmgr.h"

View file

@ -19,6 +19,7 @@
*/
#include <assert.h>
#include <stdio.h>
#include <unistd.h>
#include <pthread.h>
#include <sys/types.h>