include string.h for memset()
authorFrank Mori Hess <fmhess@speakeasy.net>
Wed, 1 Jan 2003 23:08:07 +0000 (23:08 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Wed, 1 Jan 2003 23:08:07 +0000 (23:08 +0000)
demo/mmap.c
lib/buffer.c

index 30060cc5da571594263d82492d59acc4a8f77e8e..526aa3a17614434340d60e204d6036c054202568 100644 (file)
@@ -23,6 +23,7 @@
 #include <errno.h>
 #include <unistd.h>
 #include <sys/mman.h>
+#include <string.h>
 #include "examples.h"
 
 unsigned int chanlist[256];
index 394fb6cb2fdca70c5fffe775e1cf906a46506fcd..6e5a4d5d0b3176cca840fb30d52eee2f615c55bd 100644 (file)
@@ -24,6 +24,7 @@
 #include <comedi.h>
 
 #include <libinternal.h>
+#include <string.h>
 
 EXPORT_SYMBOL(comedi_set_buffer_size,0.7.18);
 int comedi_set_buffer_size(comedi_t *it, unsigned int subdev, unsigned int size)