summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Kondrashov <spbnick@gmail.com>2011-12-26 14:25:59 +0200
committerNikolai Kondrashov <spbnick@gmail.com>2011-12-26 14:25:59 +0200
commitf7d61e13c1c343da844b36b20bf4fa00996ce799 (patch)
tree15446a66ecfc94ed8ee600de6a63779763f8928a
parentc322356bb979697c449b5827255177a9af7af45e (diff)
downloadusbhid-dump-f7d61e13c1c343da844b36b20bf4fa00996ce799.tar.gz
Fix config.h include location
Move config.h include in usbhid-dump.c to before all other includes to allow header control.
-rw-r--r--src/usbhid-dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usbhid-dump.c b/src/usbhid-dump.c
index 4c8c1bd..b6af848 100644
--- a/src/usbhid-dump.c
+++ b/src/usbhid-dump.c
@@ -23,6 +23,8 @@
* @(#) $Id$
*/
+#include "config.h"
+
#include "uhd/iface_list.h"
#include "uhd/str.h"
#include "uhd/libusb.h"
@@ -40,8 +42,6 @@
#include <getopt.h>
#include <stdio.h>
-#include "config.h"
-
#define ERROR(_fmt, _args...) \
fprintf(stderr, _fmt "\n", ##_args)