Properly include syscall.h in parlib/event.h
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 19 Oct 2015 15:10:45 +0000 (11:10 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 28 Oct 2015 16:05:12 +0000 (12:05 -0400)
When building with -Wsystem-headers, we get a warning like:

... /usr/include/parlib/event.h:37:48:
warning: 'struct syscall' declared inside parameter list
 bool register_evq(struct syscall *sysc, struct event_queue *ev_q);

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/parlib/include/event.h

index a90b485..dcf07da 100644 (file)
@@ -10,6 +10,7 @@
 #define PARLIB_EVENT_H
 
 #include <ros/event.h>
+#include <ros/syscall.h>
 #include <parlib/common.h>
 
 __BEGIN_DECLS