summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2011-12-13 22:32:38 -0500
committerNikolai Kondrashov <spbnick@gmail.com>2011-12-18 15:48:50 +0200
commita88648f447fb6481d88f5dccd8d557e3878d5858 (patch)
treecd76ec92cc460b728c7c2746e481156f90319e6e
parentb643881e646e8d7ad9bfe566a6f262f010efca35 (diff)
downloadusbhid-dump-a88648f447fb6481d88f5dccd8d557e3878d5858.tar.gz
Add missing limits.h include to usbhid-dump.c
Fix build with glibc-2.14.1, gcc-4.6.2 by including missing limits.h to usbhid-dump.c, for UINT_MAX. Bug 3459209
-rw-r--r--src/usbhid-dump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usbhid-dump.c b/src/usbhid-dump.c
index d4e5e65..7edfe3e 100644
--- a/src/usbhid-dump.c
+++ b/src/usbhid-dump.c
@@ -1,6 +1,6 @@
/** @file
* @brief usbhid-dump - entry point *
- * Copyright (C) 2010 Nikolai Kondrashov
+ * Copyright (C) 2010-2011 Nikolai Kondrashov
*
* This file is part of usbhid-dump.
*
@@ -31,6 +31,7 @@
#include <assert.h>
#include <stdbool.h>
#include <ctype.h>
+#include <limits.h>
#include <string.h>
#include <errno.h>
#include <signal.h>