summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2015-10-22 08:11:47 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2015-10-22 08:11:47 +0200
commitfd32db445e07fcbd4dd0a82b3538c396f9c44cdf (patch)
tree32e75e7a66b64ea1eca21ea0506085073d0c0f43
parenta30cc5c930ed2dd3fdf386eb97ee9cf40a105aa5 (diff)
downloadlibuca-fd32db445e07fcbd4dd0a82b3538c396f9c44cdf.tar.gz
libuca-fd32db445e07fcbd4dd0a82b3538c396f9c44cdf.tar.bz2
libuca-fd32db445e07fcbd4dd0a82b3538c396f9c44cdf.tar.xz
libuca-fd32db445e07fcbd4dd0a82b3538c396f9c44cdf.zip
Include stdlib.h for atoi etc.
With certain glibc/gcc versions, the function declarations are not known and wrong parameter types are assumed causing wrong conversion results.
-rw-r--r--src/uca-camera.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uca-camera.c b/src/uca-camera.c
index a9be591..7d55f92 100644
--- a/src/uca-camera.c
+++ b/src/uca-camera.c
@@ -31,6 +31,7 @@
#include <glib.h>
#include <string.h>
+#include <stdlib.h>
#include "compat.h"
#include "uca-camera.h"
#include "uca-ring-buffer.h"