[patch 08/11] implicit declarations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add some header files to avoid implicit declaration warnings.

Signed-off-by: Robert Schwebel <r.schwebel@xxxxxxxxxxxxxx>

 perf/latency/pthread_cond_latency.c |    4 ++++
 1 file changed, 4 insertions(+)

Index: perf/latency/pthread_cond_latency.c
===================================================================
--- perf/latency/pthread_cond_latency.c.orig
+++ perf/latency/pthread_cond_latency.c
@@ -21,9 +21,13 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
+#include <poll.h>
 #include <pthread.h>
 #include <sys/time.h>
+#include <sys/types.h>
 #include <sched.h>
+#include <unistd.h>
 
 pthread_mutex_t child_mutex = PTHREAD_MUTEX_INITIALIZER;
 volatile int child_waiting = 0;

--
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9

-
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux