Fixing all headers/namespaces/name lookup problems that hinder a GCC 4.3.2
build. I sure hope that this doesn't break the build for anyone else. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28992 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -46,7 +46,7 @@ All rights reserved.
|
|||||||
#define __OPEN_HASH_TABLE__
|
#define __OPEN_HASH_TABLE__
|
||||||
|
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <new.h>
|
#include <new>
|
||||||
|
|
||||||
// don't include <Debug.h>
|
// don't include <Debug.h>
|
||||||
#define ASSERT(E) (void)0
|
#define ASSERT(E) (void)0
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "MasterServerDevice.h"
|
#include "MasterServerDevice.h"
|
||||||
|
|
||||||
#include <fstream.h>
|
#include <fstream>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ public:
|
|||||||
typedef HashTableLink<ThisType> HashLink;
|
typedef HashTableLink<ThisType> HashLink;
|
||||||
typedef typename Addressing::AddressType AddressType;
|
typedef typename Addressing::AddressType AddressType;
|
||||||
typedef MulticastFilter<Addressing> Filter;
|
typedef MulticastFilter<Addressing> Filter;
|
||||||
typedef AddressSet<AddressType> AddressSet;
|
typedef ::AddressSet<AddressType> AddressSet;
|
||||||
|
|
||||||
enum FilterMode {
|
enum FilterMode {
|
||||||
kInclude,
|
kInclude,
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ public:
|
|||||||
bool IsActive() const { return fActive; }
|
bool IsActive() const { return fActive; }
|
||||||
void SetActive(bool newValue) { fActive = newValue; }
|
void SetActive(bool newValue) { fActive = newValue; }
|
||||||
|
|
||||||
HashTableLink<UdpEndpoint> *HashTableLink() { return &fLink; }
|
::HashTableLink<UdpEndpoint> *HashTableLink() { return &fLink; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
UdpDomainSupport *fManager;
|
UdpDomainSupport *fManager;
|
||||||
@@ -143,7 +143,7 @@ struct UdpHashDefinition {
|
|||||||
&& endpoint->PeerAddress().EqualTo(key.second, true);
|
&& endpoint->PeerAddress().EqualTo(key.second, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
HashTableLink<UdpEndpoint> *GetLink(UdpEndpoint *endpoint) const
|
::HashTableLink<UdpEndpoint> *GetLink(UdpEndpoint *endpoint) const
|
||||||
{
|
{
|
||||||
return endpoint->HashTableLink();
|
return endpoint->HashTableLink();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ public:
|
|||||||
return fAddress;
|
return fAddress;
|
||||||
}
|
}
|
||||||
|
|
||||||
HashTableLink<UnixEndpoint>* HashTableLink()
|
::HashTableLink<UnixEndpoint>* HashTableLink()
|
||||||
{
|
{
|
||||||
return &fAddressHashLink;
|
return &fAddressHashLink;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
//--------This file shamelessly stolen from Jeremy Friesner's excellent MUSCLE---------
|
//--------This file shamelessly stolen from Jeremy Friesner's excellent MUSCLE---------
|
||||||
/* This file is Copyright 2000 Level Control Systems. See the included LICENSE.txt file for details. */
|
/* This file is Copyright 2000 Level Control Systems. See the included LICENSE.txt file for details. */
|
||||||
|
|
||||||
#include <new.h>
|
#include <new>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "StringMatcher.h"
|
#include "StringMatcher.h"
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
#include <Autolock.h>
|
#include <Autolock.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#define TRACE_THIS 0
|
#define TRACE_THIS 0
|
||||||
#if TRACE_THIS
|
#if TRACE_THIS
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
#include "OggFormats.h"
|
#include "OggFormats.h"
|
||||||
#include <Autolock.h>
|
#include <Autolock.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#define TRACE_THIS 0
|
#define TRACE_THIS 0
|
||||||
#if TRACE_THIS
|
#if TRACE_THIS
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
#include "OggTrack.h"
|
#include "OggTrack.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#define TRACE_THIS 0
|
#define TRACE_THIS 0
|
||||||
#if TRACE_THIS
|
#if TRACE_THIS
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
// Sun, 18 Jun 2000
|
// Sun, 18 Jun 2000
|
||||||
// Y.Takagi
|
// Y.Takagi
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <Button.h>
|
#include <Button.h>
|
||||||
#include <Rect.h>
|
#include <Rect.h>
|
||||||
#include <TextControl.h>
|
#include <TextControl.h>
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "URL.h"
|
#include "URL.h"
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
// Y.Takagi
|
// Y.Takagi
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
#include <stdlib.h>
|
||||||
#include "URL.h"
|
#include "URL.h"
|
||||||
|
|
||||||
URL::URL(const char *spec)
|
URL::URL(const char *spec)
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
#include <Alert.h>
|
#include <Alert.h>
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include "LpsClient.h"
|
#include "LpsClient.h"
|
||||||
#include "LprSetupDlg.h"
|
#include "LprSetupDlg.h"
|
||||||
|
|||||||
@@ -9,9 +9,10 @@
|
|||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
#include "LpsClient.h"
|
#include "LpsClient.h"
|
||||||
#include "LprSetupDlg.h"
|
#include "LprSetupDlg.h"
|
||||||
|
|||||||
@@ -8,7 +8,9 @@
|
|||||||
# include <net/socket.h>
|
# include <net/socket.h>
|
||||||
# include <net/netdb.h>
|
# include <net/netdb.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "Socket.h"
|
#include "Socket.h"
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
#include "BMPTranslator.h"
|
#include "BMPTranslator.h"
|
||||||
#include "BMPView.h"
|
#include "BMPView.h"
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
#include <new>
|
#include <new>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@@ -16,6 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
using std::nothrow;
|
using std::nothrow;
|
||||||
|
using std::min;
|
||||||
|
|
||||||
//#define INFO(x) printf(x);
|
//#define INFO(x) printf(x);
|
||||||
#define INFO(x)
|
#define INFO(x)
|
||||||
@@ -1706,12 +1708,12 @@ BMPTranslator::translate_from_bmp(BPositionIO *inSource, uint32 outType,
|
|||||||
if (!frommsformat && os2skip)
|
if (!frommsformat && os2skip)
|
||||||
inSource->Seek(os2skip, SEEK_CUR);
|
inSource->Seek(os2skip, SEEK_CUR);
|
||||||
|
|
||||||
rd = min(1024, fileHeader.fileSize - rdtotal);
|
rd = min((size_t)1024, fileHeader.fileSize - rdtotal);
|
||||||
rd = inSource->Read(buf, rd);
|
rd = inSource->Read(buf, rd);
|
||||||
while (rd > 0) {
|
while (rd > 0) {
|
||||||
outDestination->Write(buf, rd);
|
outDestination->Write(buf, rd);
|
||||||
rdtotal += rd;
|
rdtotal += rd;
|
||||||
rd = min(1024, fileHeader.fileSize - rdtotal);
|
rd = min((size_t)1024, fileHeader.fileSize - rdtotal);
|
||||||
rd = inSource->Read(buf, rd);
|
rd = inSource->Read(buf, rd);
|
||||||
}
|
}
|
||||||
if (rd == 0)
|
if (rd == 0)
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
#include <String.h>
|
#include <String.h>
|
||||||
#include <UTF8.h>
|
#include <UTF8.h>
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
#include <new>
|
#include <new>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@@ -24,6 +25,7 @@
|
|||||||
|
|
||||||
|
|
||||||
using namespace BPrivate;
|
using namespace BPrivate;
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
|
||||||
#define READ_BUFFER_SIZE 32768
|
#define READ_BUFFER_SIZE 32768
|
||||||
@@ -970,7 +972,7 @@ translate_from_stxt(BPositionIO *inSource, BPositionIO *outDestination,
|
|||||||
// When outputting B_STYLED_TEXT_FORMAT, the loop stops when all
|
// When outputting B_STYLED_TEXT_FORMAT, the loop stops when all
|
||||||
// of the data from inSource has been read and written.
|
// of the data from inSource has been read and written.
|
||||||
if (btoplain)
|
if (btoplain)
|
||||||
nreed = min(READ_BUFFER_SIZE,
|
nreed = min((size_t)READ_BUFFER_SIZE,
|
||||||
txtheader.header.data_size - ntotalread);
|
txtheader.header.data_size - ntotalread);
|
||||||
else
|
else
|
||||||
nreed = READ_BUFFER_SIZE;
|
nreed = READ_BUFFER_SIZE;
|
||||||
@@ -982,7 +984,7 @@ translate_from_stxt(BPositionIO *inSource, BPositionIO *outDestination,
|
|||||||
|
|
||||||
if (btoplain) {
|
if (btoplain) {
|
||||||
ntotalread += nread;
|
ntotalread += nread;
|
||||||
nreed = min(READ_BUFFER_SIZE,
|
nreed = min((size_t)READ_BUFFER_SIZE,
|
||||||
txtheader.header.data_size - ntotalread);
|
txtheader.header.data_size - ntotalread);
|
||||||
} else
|
} else
|
||||||
nreed = READ_BUFFER_SIZE;
|
nreed = READ_BUFFER_SIZE;
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
#include "FtpClient.h"
|
#include "FtpClient.h"
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
FtpClient::FtpClient()
|
FtpClient::FtpClient()
|
||||||
: FileUploadClient(),
|
: FileUploadClient(),
|
||||||
fState(0),
|
fState(0),
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
#include <Debug.h>
|
#include <Debug.h>
|
||||||
|
|
||||||
#include <String.h>
|
#include <String.h>
|
||||||
#include <ostream.h>
|
#include <ostream>
|
||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
#include "ImportContext.h"
|
#include "ImportContext.h"
|
||||||
#include "ExportContext.h"
|
#include "ExportContext.h"
|
||||||
|
|
||||||
#include <ostream.h>
|
#include <ostream>
|
||||||
|
|
||||||
#include "cortex_defs.h"
|
#include "cortex_defs.h"
|
||||||
__BEGIN_CORTEX_NAMESPACE
|
__BEGIN_CORTEX_NAMESPACE
|
||||||
|
|||||||
@@ -8,9 +8,10 @@
|
|||||||
*/
|
*/
|
||||||
#include "InfoWindow.h"
|
#include "InfoWindow.h"
|
||||||
|
|
||||||
#include <pair.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <StringView.h>
|
#include <StringView.h>
|
||||||
@@ -22,6 +23,7 @@
|
|||||||
|
|
||||||
using std::string;
|
using std::string;
|
||||||
using std::vector;
|
using std::vector;
|
||||||
|
using std::pair;
|
||||||
|
|
||||||
LeftView::LeftView(BRect frame, BBitmap* icon)
|
LeftView::LeftView(BRect frame, BBitmap* icon)
|
||||||
: BView(frame, NULL, B_FOLLOW_NONE, B_WILL_DRAW),
|
: BView(frame, NULL, B_FOLLOW_NONE, B_WILL_DRAW),
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
*/
|
*/
|
||||||
#include "Scanner.h"
|
#include "Scanner.h"
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <Directory.h>
|
#include <Directory.h>
|
||||||
|
|
||||||
#include "Common.h"
|
#include "Common.h"
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
#include "Snapshot.h"
|
#include "Snapshot.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <Directory.h>
|
#include <Directory.h>
|
||||||
#include <Mime.h>
|
#include <Mime.h>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#ifndef COMMAND_STACK_H
|
#ifndef COMMAND_STACK_H
|
||||||
#define COMMAND_STACK_H
|
#define COMMAND_STACK_H
|
||||||
|
|
||||||
#include <stack.h>
|
#include <stack>
|
||||||
|
|
||||||
#include <Locker.h>
|
#include <Locker.h>
|
||||||
|
|
||||||
@@ -39,7 +39,7 @@ class CommandStack : public BLocker,
|
|||||||
private:
|
private:
|
||||||
status_t _AddCommand(Command* command);
|
status_t _AddCommand(Command* command);
|
||||||
|
|
||||||
typedef stack<Command*> command_stack;
|
typedef std::stack<Command*> command_stack;
|
||||||
|
|
||||||
command_stack fUndoHistory;
|
command_stack fUndoHistory;
|
||||||
command_stack fRedoHistory;
|
command_stack fRedoHistory;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
#include "ScrollView.h"
|
#include "ScrollView.h"
|
||||||
|
|
||||||
#include <algobase.h>
|
#include <algorithm>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
@@ -24,6 +24,7 @@
|
|||||||
#include "Scrollable.h"
|
#include "Scrollable.h"
|
||||||
#include "ScrollCornerBitmaps.h"
|
#include "ScrollCornerBitmaps.h"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
// #pragma mark - InternalScrollBar
|
// #pragma mark - InternalScrollBar
|
||||||
|
|
||||||
|
|||||||
@@ -8,11 +8,13 @@
|
|||||||
|
|
||||||
#include "Scrollable.h"
|
#include "Scrollable.h"
|
||||||
|
|
||||||
#include <algobase.h>
|
#include <algorithm>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "Scroller.h"
|
#include "Scroller.h"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
// constructor
|
// constructor
|
||||||
Scrollable::Scrollable()
|
Scrollable::Scrollable()
|
||||||
: fDataRect(0.0, 0.0, 0.0, 0.0),
|
: fDataRect(0.0, 0.0, 0.0, 0.0),
|
||||||
|
|||||||
@@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
#include "StateView.h"
|
#include "StateView.h"
|
||||||
|
|
||||||
|
#include <new>
|
||||||
|
|
||||||
#include <Message.h>
|
#include <Message.h>
|
||||||
#include <MessageFilter.h>
|
#include <MessageFilter.h>
|
||||||
#include <TextView.h>
|
#include <TextView.h>
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
#include "PathListView.h"
|
#include "PathListView.h"
|
||||||
|
|
||||||
|
#include <new>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <Application.h>
|
#include <Application.h>
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
#include "StyleListView.h"
|
#include "StyleListView.h"
|
||||||
|
|
||||||
|
#include <new>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <Application.h>
|
#include <Application.h>
|
||||||
|
|||||||
@@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
#include "StyleView.h"
|
#include "StyleView.h"
|
||||||
|
|
||||||
|
#include <new>
|
||||||
|
|
||||||
#if __HAIKU__
|
#if __HAIKU__
|
||||||
# include "GridLayout.h"
|
# include "GridLayout.h"
|
||||||
# include "GroupLayout.h"
|
# include "GroupLayout.h"
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
#include "Exporter.h"
|
#include "Exporter.h"
|
||||||
|
|
||||||
#include <fs_attr.h>
|
#include <fs_attr.h>
|
||||||
|
#include <new>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <Alert.h>
|
#include <Alert.h>
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
#include "RDefExporter.h"
|
#include "RDefExporter.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <DataIO.h>
|
#include <DataIO.h>
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
#include "SourceExporter.h"
|
#include "SourceExporter.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <DataIO.h>
|
#include <DataIO.h>
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
#include <Window.h>
|
#include <Window.h>
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include "TransportButton.h"
|
#include "TransportButton.h"
|
||||||
#include "DrawingTidbits.h"
|
#include "DrawingTidbits.h"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// PlaybackManager.cpp
|
// PlaybackManager.cpp
|
||||||
|
|
||||||
#include <algobase.h>
|
#include <algorithm>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <Message.h>
|
#include <Message.h>
|
||||||
@@ -13,6 +13,8 @@
|
|||||||
|
|
||||||
#include "PlaybackManager.h"
|
#include "PlaybackManager.h"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
//#define TRACE_NODE_MANAGER
|
//#define TRACE_NODE_MANAGER
|
||||||
#ifdef TRACE_NODE_MANAGER
|
#ifdef TRACE_NODE_MANAGER
|
||||||
# define TRACE(x...) printf(x)
|
# define TRACE(x...) printf(x)
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
#include "AudioAdapter.h"
|
#include "AudioAdapter.h"
|
||||||
|
|
||||||
#include <new>
|
#include <new>
|
||||||
#include <algobase.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
#include "AudioChannelConverter.h"
|
#include "AudioChannelConverter.h"
|
||||||
|
|
||||||
#include <new>
|
#include <new>
|
||||||
#include <algobase.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|||||||
@@ -6,8 +6,6 @@
|
|||||||
|
|
||||||
#include "AudioFormatConverter.h"
|
#include "AudioFormatConverter.h"
|
||||||
|
|
||||||
#include <algobase.h>
|
|
||||||
|
|
||||||
#include <ByteOrder.h>
|
#include <ByteOrder.h>
|
||||||
#include <MediaDefs.h>
|
#include <MediaDefs.h>
|
||||||
|
|
||||||
|
|||||||
@@ -2,11 +2,13 @@
|
|||||||
* Copyright © 2000-2006 Ingo Weinhold <ingo_weinhold@gmx.de>
|
* Copyright © 2000-2006 Ingo Weinhold <ingo_weinhold@gmx.de>
|
||||||
* All rights reserved. Distributed under the terms of the MIT licensce.
|
* All rights reserved. Distributed under the terms of the MIT licensce.
|
||||||
*/
|
*/
|
||||||
#include <algobase.h>
|
#include <algorithm>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "AudioReader.h"
|
#include "AudioReader.h"
|
||||||
|
|
||||||
|
using std::swap;
|
||||||
|
|
||||||
|
|
||||||
AudioReader::AudioReader()
|
AudioReader::AudioReader()
|
||||||
: fFormat(),
|
: fFormat(),
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
*/
|
*/
|
||||||
#include "AudioResampler.h"
|
#include "AudioResampler.h"
|
||||||
|
|
||||||
#include <algobase.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "SampleBuffer.h"
|
#include "SampleBuffer.h"
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
#include "Playlist.h"
|
#include "Playlist.h"
|
||||||
|
|
||||||
#include <debugger.h>
|
#include <debugger.h>
|
||||||
#include <new.h>
|
#include <new>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <Autolock.h>
|
#include <Autolock.h>
|
||||||
|
|||||||
@@ -6,15 +6,14 @@
|
|||||||
#include "MediaTrackAudioSupplier.h"
|
#include "MediaTrackAudioSupplier.h"
|
||||||
|
|
||||||
#include <new>
|
#include <new>
|
||||||
#include <algobase.h>
|
#include <algorithm>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <MediaFile.h>
|
#include <MediaFile.h>
|
||||||
#include <MediaTrack.h>
|
#include <MediaTrack.h>
|
||||||
|
|
||||||
using std::nothrow;
|
using namespace std;
|
||||||
|
|
||||||
|
|
||||||
//#define TRACE_AUDIO_SUPPLIER
|
//#define TRACE_AUDIO_SUPPLIER
|
||||||
#ifdef TRACE_AUDIO_SUPPLIER
|
#ifdef TRACE_AUDIO_SUPPLIER
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "ProxyAudioSupplier.h"
|
#include "ProxyAudioSupplier.h"
|
||||||
|
|
||||||
#include <algobase.h>
|
#include <algorithm>
|
||||||
#include <new>
|
#include <new>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@@ -18,6 +18,7 @@
|
|||||||
#include "PlaybackManager.h"
|
#include "PlaybackManager.h"
|
||||||
|
|
||||||
using std::nothrow;
|
using std::nothrow;
|
||||||
|
using std::swap;
|
||||||
|
|
||||||
|
|
||||||
//#define TRACE_PROXY_AUDIO_SUPPLIER
|
//#define TRACE_PROXY_AUDIO_SUPPLIER
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#ifndef COMMAND_STACK_H
|
#ifndef COMMAND_STACK_H
|
||||||
#define COMMAND_STACK_H
|
#define COMMAND_STACK_H
|
||||||
|
|
||||||
#include <stack.h>
|
#include <stack>
|
||||||
|
|
||||||
#include "Notifier.h"
|
#include "Notifier.h"
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@ class CommandStack : public Notifier {
|
|||||||
|
|
||||||
RWLocker* fLocker;
|
RWLocker* fLocker;
|
||||||
|
|
||||||
typedef stack<Command*> command_stack;
|
typedef std::stack<Command*> command_stack;
|
||||||
|
|
||||||
command_stack fUndoHistory;
|
command_stack fUndoHistory;
|
||||||
command_stack fRedoHistory;
|
command_stack fRedoHistory;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
#include <SupportDefs.h>
|
#include <SupportDefs.h>
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
template<class T> class Stack {
|
template<class T> class Stack {
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
#include "SudokuSolver.h"
|
#include "SudokuSolver.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
SudokuGenerator::SudokuGenerator()
|
SudokuGenerator::SudokuGenerator()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ const uint32 kMsgExportAs = 'expt';
|
|||||||
|
|
||||||
class GenerateSudoku {
|
class GenerateSudoku {
|
||||||
public:
|
public:
|
||||||
GenerateSudoku(SudokuField& target, int32 level, BMessenger progress,
|
GenerateSudoku(SudokuField& field, int32 level, BMessenger progress,
|
||||||
BMessenger target);
|
BMessenger target);
|
||||||
~GenerateSudoku();
|
~GenerateSudoku();
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <debugger.h>
|
#include <debugger.h>
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,8 @@
|
|||||||
|
|
||||||
#include "TypeHandler.h"
|
#include "TypeHandler.h"
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include "Context.h"
|
#include "Context.h"
|
||||||
#include "MemoryReader.h"
|
#include "MemoryReader.h"
|
||||||
#include "Syscall.h"
|
#include "Syscall.h"
|
||||||
|
|||||||
@@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
#include "AddOnMonitorHandler.h"
|
#include "AddOnMonitorHandler.h"
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <Directory.h>
|
#include <Directory.h>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
#include <InterfaceDefs.h>
|
#include <InterfaceDefs.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
#include <string.h>
|
||||||
#include "Halftone.h"
|
#include "Halftone.h"
|
||||||
#include "ValidRect.h"
|
#include "ValidRect.h"
|
||||||
#include "DbgMsg.h"
|
#include "DbgMsg.h"
|
||||||
|
|||||||
@@ -10,8 +10,8 @@
|
|||||||
|
|
||||||
#include <Bitmap.h>
|
#include <Bitmap.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <algo.h>
|
#include <algorithm>
|
||||||
#include <stack.h>
|
#include <stack>
|
||||||
|
|
||||||
#include "DrawState.h"
|
#include "DrawState.h"
|
||||||
#include "GlyphLayoutEngine.h"
|
#include "GlyphLayoutEngine.h"
|
||||||
@@ -489,7 +489,7 @@ DrawingEngine::CopyRegion(/*const*/ BRegion* region,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// put all nodes onto a stack that have an "indegree" count of zero
|
// put all nodes onto a stack that have an "indegree" count of zero
|
||||||
stack<node*> inDegreeZeroNodes;
|
std::stack<node*> inDegreeZeroNodes;
|
||||||
for (int32 i = 0; i < count; i++) {
|
for (int32 i = 0; i < count; i++) {
|
||||||
if (nodes[i].in_degree == 0) {
|
if (nodes[i].in_degree == 0) {
|
||||||
inDegreeZeroNodes.push(&nodes[i]);
|
inDegreeZeroNodes.push(&nodes[i]);
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <new>
|
#include <new>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include <new>
|
#include <new>
|
||||||
#include <set>
|
#include <set>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <AutoDeleter.h>
|
#include <AutoDeleter.h>
|
||||||
#include <Autolock.h>
|
#include <Autolock.h>
|
||||||
|
|||||||
@@ -22,6 +22,8 @@
|
|||||||
#include <Roster.h>
|
#include <Roster.h>
|
||||||
#include <storage_support.h>
|
#include <storage_support.h>
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#define DBG(x) (x)
|
#define DBG(x) (x)
|
||||||
//#define DBG(x)
|
//#define DBG(x)
|
||||||
#define OUT printf
|
#define OUT printf
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <new>
|
#include <new>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include "AppInfoListMessagingTargetSet.h"
|
#include "AppInfoListMessagingTargetSet.h"
|
||||||
#include "Debug.h"
|
#include "Debug.h"
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
#include "CreateAppMetaMimeThread.h"
|
#include "CreateAppMetaMimeThread.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <AppFileInfo.h>
|
#include <AppFileInfo.h>
|
||||||
#include <Bitmap.h>
|
#include <Bitmap.h>
|
||||||
|
|||||||
@@ -9,6 +9,9 @@
|
|||||||
|
|
||||||
#include "UpdateMimeInfoThread.h"
|
#include "UpdateMimeInfoThread.h"
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <AppFileInfo.h>
|
#include <AppFileInfo.h>
|
||||||
#include <Bitmap.h>
|
#include <Bitmap.h>
|
||||||
#include <fs_attr.h>
|
#include <fs_attr.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user