summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2011-01-18 22:50:35 -0500
committerMatthew Garrett <mjg@redhat.com>2011-01-18 22:50:35 -0500
commit0c5f466ae5f1b3a0b6af1d1ba5d90938f0d5212d (patch)
treeb78b50c477289a4ad9b3978041369bf4cf99d54c
parentf37040e13faaab9876b1de00729941dbaaf42352 (diff)
Include stdlib.h for strtol prototype
-rw-r--r--libbacklight.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbacklight.c b/libbacklight.c
index d7018bc..2f903d9 100644
--- a/libbacklight.c
+++ b/libbacklight.c
@@ -40,6 +40,7 @@
#include <malloc.h>
#include <string.h>
#include <unistd.h>
+#include <stdlib.h>
static const char *output_names[] = { "Unknown",
"VGA",