summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2008-11-28 10:52:55 +0000
committerkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2008-11-28 10:52:55 +0000
commit9a9acbefabe0a54985b68dbae7f3c5769006904d (patch)
tree6587411afab5da44a41b0587fee056c24a02c77f /tools
parent3e3b9f0fa6d43fa072143d8c38ea4f2ea7dd0694 (diff)
downloadi2c-tools-9a9acbefabe0a54985b68dbae7f3c5769006904d.tar.gz
Add missing includes.
git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5452 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'tools')
-rw-r--r--tools/i2cbusses.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/i2cbusses.c b/tools/i2cbusses.c
index af53f30..693c191 100644
--- a/tools/i2cbusses.c
+++ b/tools/i2cbusses.c
@@ -22,9 +22,14 @@
MA 02110-1301 USA.
*/
+/* For strdup */
+#define _BSD_SOURCE 1
+
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/param.h> /* for NAME_MAX */
#include <string.h>
+#include <strings.h> /* for strcasecmp() */
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>