Added a missing #include <linux/unistd.h> to thread.c

This commit is contained in:
Klaus Schmidinger 2006-01-08 16:05:23 +01:00
parent f993ff108b
commit f38b7871ad
3 changed files with 4 additions and 1 deletions

View File

@ -1461,6 +1461,7 @@ Ville Skytt
warnings with g++ 4.1.0 warnings with g++ 4.1.0
for reporting warnings with g++ 4.1.0 regarding incrementing the 'state' variables for reporting warnings with g++ 4.1.0 regarding incrementing the 'state' variables
in the repacker classes in remux.c in the repacker classes in remux.c
for adding a missing #include <linux/unistd.h> to thread.c
Steffen Beyer <cpunk@reactor.de> Steffen Beyer <cpunk@reactor.de>
for fixing setting the colored button help after deleting a recording in case the next for fixing setting the colored button help after deleting a recording in case the next

View File

@ -4140,3 +4140,4 @@ Video Disk Recorder Revision History
- The SVDRP command LSTT now accepts the new option 'id' to have the channels - The SVDRP command LSTT now accepts the new option 'id' to have the channels
of the timers listed with their unique channel ids instead of their numbers of the timers listed with their unique channel ids instead of their numbers
(suggested by Matthias Schniedermeyer). (suggested by Matthias Schniedermeyer).
- Added a missing #include <linux/unistd.h> to thread.c (thanks to Ville Skyttä).

View File

@ -4,11 +4,12 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: thread.c 1.50 2006/01/04 15:01:22 kls Exp $ * $Id: thread.c 1.51 2006/01/08 16:03:56 kls Exp $
*/ */
#include "thread.h" #include "thread.h"
#include <errno.h> #include <errno.h>
#include <linux/unistd.h>
#include <malloc.h> #include <malloc.h>
#include <stdarg.h> #include <stdarg.h>
#include <sys/resource.h> #include <sys/resource.h>