oprofile: fix nanosleep() issue on non-threaded toolchains
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 29 Dec 2014 11:05:11 +0000 (12:05 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 30 Dec 2014 23:24:25 +0000 (00:24 +0100)
commit699c320094885cd0ea765c2a15cba544bf693a70
treeadb290f6a87bd914000095292e6340759951f339
parenta49bd36409f1d4b87dafc47a2432b718baeb0846
oprofile: fix nanosleep() issue on non-threaded toolchains

This commit adds a patch to OProfile that ensures <time.h> is included
whenever nanosleep() is used, which fixes a build failure on uClibc
toolchains with no thread support.

Fixes:

  http://autobuild.buildroot.org/results/d28/d28447c1241ce3dd237710e388d799139d7d613d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/oprofile/0001-Include-time.h-for-nanosleep.patch [new file with mode: 0644]