mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
fix build with gcc-4.4.x by adding necessary #includes
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@56 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
*/
|
||||
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
|
||||
#include <sectionsdclient/sectionsdclient.h>
|
||||
|
||||
|
@@ -33,6 +33,7 @@
|
||||
#define __MOD_rcinput__
|
||||
|
||||
#include <linux/input.h>
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
@@ -35,6 +35,7 @@
|
||||
|
||||
#include <gui/widget/hintboxext.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
|
||||
|
||||
|
@@ -6,6 +6,7 @@
|
||||
// system
|
||||
#include <csignal>
|
||||
#include <unistd.h>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <pwd.h>
|
||||
#include <grp.h>
|
||||
|
@@ -82,7 +82,7 @@ std::string string_printf(const char *fmt, ...)
|
||||
char buffer[bufferlen];
|
||||
va_list arglist;
|
||||
va_start( arglist, fmt );
|
||||
if(arglist)
|
||||
// if(arglist)
|
||||
vsnprintf( buffer, bufferlen, fmt, arglist );
|
||||
va_end(arglist);
|
||||
return std::string(buffer);
|
||||
|
@@ -81,7 +81,7 @@ void CLogging::printf ( const char *fmt, ... )
|
||||
|
||||
va_list arglist;
|
||||
va_start( arglist, fmt );
|
||||
if(arglist)
|
||||
// if(arglist)
|
||||
vsnprintf( buffer, bufferlen, fmt, arglist );
|
||||
va_end(arglist);
|
||||
|
||||
|
@@ -4,6 +4,7 @@
|
||||
//=============================================================================
|
||||
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
|
||||
// system
|
||||
#include <arpa/inet.h>
|
||||
|
@@ -5,6 +5,7 @@
|
||||
// c++
|
||||
#include <cerrno>
|
||||
#include <csignal>
|
||||
#include <cstdio>
|
||||
|
||||
// system
|
||||
#include <arpa/inet.h>
|
||||
|
@@ -4,6 +4,7 @@
|
||||
//=============================================================================
|
||||
|
||||
// system
|
||||
#include <cstdio>
|
||||
#include <pthread.h>
|
||||
#include <sys/stat.h>
|
||||
// yhttpd
|
||||
|
@@ -5,6 +5,7 @@
|
||||
// Normally
|
||||
//=============================================================================
|
||||
#include <cstdarg>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
||||
@@ -111,7 +112,7 @@ bool CmWebLog::printf(const char *fmt, ...)
|
||||
pthread_mutex_lock(&WebLog_mutex); // yeah, its mine
|
||||
va_list arglist;
|
||||
va_start( arglist, fmt );
|
||||
if(arglist)
|
||||
// if(arglist)
|
||||
vsnprintf( buffer, bufferlen, fmt, arglist );
|
||||
va_end(arglist);
|
||||
unsigned int len = strlen(buffer);
|
||||
|
@@ -19,6 +19,7 @@
|
||||
*
|
||||
*/
|
||||
#include <config.h>
|
||||
#include <cstdio> /* perror... */
|
||||
#include <sys/wait.h>
|
||||
#include "configure_network.h"
|
||||
#include "libnet.h" /* netGetNameserver, netSetNameserver */
|
||||
|
@@ -27,6 +27,7 @@
|
||||
|
||||
//typedef void CS_DMX_PDATA;
|
||||
|
||||
#include <stdint.h>
|
||||
#include "client/zapittypes.h"
|
||||
|
||||
typedef uint64_t transponder_id_t;
|
||||
|
@@ -20,6 +20,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <cstdio>
|
||||
#include <zapit/channel.h>
|
||||
|
||||
CZapitChannel::CZapitChannel(const std::string & p_name, t_service_id p_sid, t_transport_stream_id p_tsid, t_original_network_id p_onid, unsigned char p_service_type, t_satellite_position p_satellite_position, freq_id_t p_freq)
|
||||
|
Reference in New Issue
Block a user