mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +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
Origin commit data
------------------
Branch: ni/coolstream
Commit: 601e6b00fc
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2009-12-16 (Wed, 16 Dec 2009)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -24,6 +24,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
#include <cstdio>
|
||||||
|
|
||||||
#include <sectionsdclient/sectionsdclient.h>
|
#include <sectionsdclient/sectionsdclient.h>
|
||||||
|
|
||||||
|
@@ -33,6 +33,7 @@
|
|||||||
#define __MOD_rcinput__
|
#define __MOD_rcinput__
|
||||||
|
|
||||||
#include <linux/input.h>
|
#include <linux/input.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
@@ -35,6 +35,7 @@
|
|||||||
|
|
||||||
#include <gui/widget/hintboxext.h>
|
#include <gui/widget/hintboxext.h>
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
|
||||||
|
@@ -6,6 +6,7 @@
|
|||||||
// system
|
// system
|
||||||
#include <csignal>
|
#include <csignal>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <cstdio>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#include <grp.h>
|
#include <grp.h>
|
||||||
|
@@ -82,7 +82,7 @@ std::string string_printf(const char *fmt, ...)
|
|||||||
char buffer[bufferlen];
|
char buffer[bufferlen];
|
||||||
va_list arglist;
|
va_list arglist;
|
||||||
va_start( arglist, fmt );
|
va_start( arglist, fmt );
|
||||||
if(arglist)
|
// if(arglist)
|
||||||
vsnprintf( buffer, bufferlen, fmt, arglist );
|
vsnprintf( buffer, bufferlen, fmt, arglist );
|
||||||
va_end(arglist);
|
va_end(arglist);
|
||||||
return std::string(buffer);
|
return std::string(buffer);
|
||||||
|
@@ -81,7 +81,7 @@ void CLogging::printf ( const char *fmt, ... )
|
|||||||
|
|
||||||
va_list arglist;
|
va_list arglist;
|
||||||
va_start( arglist, fmt );
|
va_start( arglist, fmt );
|
||||||
if(arglist)
|
// if(arglist)
|
||||||
vsnprintf( buffer, bufferlen, fmt, arglist );
|
vsnprintf( buffer, bufferlen, fmt, arglist );
|
||||||
va_end(arglist);
|
va_end(arglist);
|
||||||
|
|
||||||
|
@@ -4,6 +4,7 @@
|
|||||||
//=============================================================================
|
//=============================================================================
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
#include <cstdio>
|
||||||
|
|
||||||
// system
|
// system
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
@@ -5,6 +5,7 @@
|
|||||||
// c++
|
// c++
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
#include <csignal>
|
#include <csignal>
|
||||||
|
#include <cstdio>
|
||||||
|
|
||||||
// system
|
// system
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
@@ -4,6 +4,7 @@
|
|||||||
//=============================================================================
|
//=============================================================================
|
||||||
|
|
||||||
// system
|
// system
|
||||||
|
#include <cstdio>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
// yhttpd
|
// yhttpd
|
||||||
|
@@ -5,6 +5,7 @@
|
|||||||
// Normally
|
// Normally
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
#include <cstdarg>
|
#include <cstdarg>
|
||||||
|
#include <cstdio>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
@@ -111,7 +112,7 @@ bool CmWebLog::printf(const char *fmt, ...)
|
|||||||
pthread_mutex_lock(&WebLog_mutex); // yeah, its mine
|
pthread_mutex_lock(&WebLog_mutex); // yeah, its mine
|
||||||
va_list arglist;
|
va_list arglist;
|
||||||
va_start( arglist, fmt );
|
va_start( arglist, fmt );
|
||||||
if(arglist)
|
// if(arglist)
|
||||||
vsnprintf( buffer, bufferlen, fmt, arglist );
|
vsnprintf( buffer, bufferlen, fmt, arglist );
|
||||||
va_end(arglist);
|
va_end(arglist);
|
||||||
unsigned int len = strlen(buffer);
|
unsigned int len = strlen(buffer);
|
||||||
|
@@ -19,6 +19,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
#include <cstdio> /* perror... */
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include "configure_network.h"
|
#include "configure_network.h"
|
||||||
#include "libnet.h" /* netGetNameserver, netSetNameserver */
|
#include "libnet.h" /* netGetNameserver, netSetNameserver */
|
||||||
|
@@ -27,6 +27,7 @@
|
|||||||
|
|
||||||
//typedef void CS_DMX_PDATA;
|
//typedef void CS_DMX_PDATA;
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
#include "client/zapittypes.h"
|
#include "client/zapittypes.h"
|
||||||
|
|
||||||
typedef uint64_t transponder_id_t;
|
typedef uint64_t transponder_id_t;
|
||||||
|
@@ -20,6 +20,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <cstdio>
|
||||||
#include <zapit/channel.h>
|
#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)
|
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