summaryrefslogtreecommitdiff
path: root/noncore/multimedia/camera/lib
Side-by-side diff
Diffstat (limited to 'noncore/multimedia/camera/lib') (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/camera/lib/avi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/multimedia/camera/lib/avi.c b/noncore/multimedia/camera/lib/avi.c
index 77aba33..d99c016 100644
--- a/noncore/multimedia/camera/lib/avi.c
+++ b/noncore/multimedia/camera/lib/avi.c
@@ -9,24 +9,25 @@
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
**********************************************************************/
#include "avi.h"
#include <string.h>
#include <stdio.h>
+#include <stdlib.h>
int nframes;
int totalsize;
unsigned int* sizes;
void fprint_quartet(int fd, unsigned int i)
{
char data[4];
data[0] = (char) i%0x100;
i /= 0x100;
data[1] = (char) i%0x100;