summaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorDavid Hunt <dhunt@iolanthe.attlocal.net>2015-08-19 13:43:20 -0300
committerHisham Muhammad <hisham@gobolinux.org>2015-08-19 13:45:20 -0300
commit5e602f18d5f619f7dba6d9fccefacdb991db391d (patch)
treed72cbc763c7dcd27022b223f1daf6dcb5ac8bcb6 /linux
parentf2c053a88497f3ad5ae786c16ecf1275212c13be (diff)
Rename String to StringUtils.
Fixes building on case-insensitive filesystems where String.h gets confused with <string.h>. From d734dacea0a10d0465dad4e95b3421511e7da112 Mon Sep 17 00:00:00 2001 From: David Hunt <dhunt@iolanthe.attlocal.net> Date: Sat, 11 Jul 2015 20:56:31 -0500 Subject: [PATCH 1/8] Rename String to StringUtils
Diffstat (limited to 'linux')
-rw-r--r--linux/Battery.c2
-rw-r--r--linux/LinuxProcessList.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux/Battery.c b/linux/Battery.c
index 532c118b..ebf20372 100644
--- a/linux/Battery.c
+++ b/linux/Battery.c
@@ -18,7 +18,7 @@ Linux battery readings written by Ian P. Hands (iphands@gmail.com, ihands@redhat
#include <fcntl.h>
#include <time.h>
#include "BatteryMeter.h"
-#include "String.h"
+#include "StringUtils.h"
#define SYS_POWERSUPPLY_DIR "/sys/class/power_supply"
diff --git a/linux/LinuxProcessList.c b/linux/LinuxProcessList.c
index d532c4c3..299cb861 100644
--- a/linux/LinuxProcessList.c
+++ b/linux/LinuxProcessList.c
@@ -8,7 +8,7 @@ in the source distribution for its full text.
#include "LinuxProcessList.h"
#include "LinuxProcess.h"
#include "CRT.h"
-#include "String.h"
+#include "StringUtils.h"
#include <errno.h>
#include <sys/time.h>
#include <sys/utsname.h>

© 2014-2024 Faster IT GmbH | imprint | privacy policy