summaryrefslogtreecommitdiff
path: root/tools/depmod.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2014-10-02 22:03:19 -0300
committerLucas De Marchi <lucas.demarchi@intel.com>2014-10-02 22:03:19 -0300
commit576dd4393d0deb2f4e050c5d1b96eaafb03bcb2c (patch)
treeb675dc165891f7548d6183c7a0f86e13a285d6da /tools/depmod.c
parent9b34db1ae63427269f918b2868b4cfcb50e6259b (diff)
downloadkmod-576dd4393d0deb2f4e050c5d1b96eaafb03bcb2c.tar.gz
kmod-576dd4393d0deb2f4e050c5d1b96eaafb03bcb2c.tar.bz2
kmod-576dd4393d0deb2f4e050c5d1b96eaafb03bcb2c.zip
Move macro.h to shared directory
It's not really related to libkmod, so move it to a directory in which we keep common stuff.
Diffstat (limited to 'tools/depmod.c')
-rw-r--r--tools/depmod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/depmod.c b/tools/depmod.c
index e90ff83..41cad0b 100644
--- a/tools/depmod.c
+++ b/tools/depmod.c
@@ -21,6 +21,8 @@
#include "libkmod-hash.h"
#include "libkmod-util.h"
+#include <shared/macro.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
@@ -119,7 +121,6 @@ static inline void _show(const char *fmt, ...)
/* binary index write *************************************************/
#include <arpa/inet.h>
-#include "macro.h"
/* BEGIN: code from module-init-tools/index.c just modified to compile here.
*
* Original copyright: