All: Include util/string.h wherever strdup is used

This commit is contained in:
Jeffrey Pfau 2015-06-17 21:50:10 -07:00
parent 4bd3555045
commit b54f5a997a
6 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,7 @@
#include "config.h"
#include "util/formatting.h"
#include "util/string.h"
#include "util/vfs.h"
#include <sys/stat.h>

View File

@ -17,6 +17,7 @@
#endif
#include "gba/video.h"
#include "util/string.h"
#include <fcntl.h>
#include <getopt.h>

View File

@ -6,6 +6,7 @@
#include "imagemagick-gif-encoder.h"
#include "gba/video.h"
#include "util/string.h"
static void _magickPostVideoFrame(struct GBAAVStream*, struct GBAVideoRenderer* renderer);
static void _magickPostAudioFrame(struct GBAAVStream*, int16_t left, int16_t right);

View File

@ -10,6 +10,7 @@
#include "gba/serialize.h"
#include "platform/commandline.h"
#include "util/string.h"
#include "util/vfs.h"
#include <errno.h>

View File

@ -6,6 +6,7 @@
#include "configuration.h"
#include "util/formatting.h"
#include "util/string.h"
#include "util/vfs.h"
#include "third-party/inih/ini.h"

View File

@ -6,6 +6,7 @@
#include "table.h"
#include "util/hash.h"
#include "util/string.h"
#define LIST_INITIAL_SIZE 8
#define TABLE_INITIAL_SIZE 8