diff options
author | Jan Safranek <jsafrane@redhat.com> | 2009-08-06 14:03:26 +0200 |
---|---|---|
committer | Dhaval Giani <dhaval@linux.vnet.ibm.com> | 2009-08-29 10:50:25 +0530 |
commit | 6f93cd767947d29c51a8d9fefeb7e582b0a324a2 (patch) | |
tree | 241ed98fedb909f8a5a56c2c833516c233cd93d5 /tests | |
parent | 76b46b3e37dc3417e63654e262067e995c509bb4 (diff) | |
download | libcg-6f93cd767947d29c51a8d9fefeb7e582b0a324a2.tar.gz libcg-6f93cd767947d29c51a8d9fefeb7e582b0a324a2.tar.xz libcg-6f93cd767947d29c51a8d9fefeb7e582b0a324a2.zip |
Remove unnecessary includes from libcgroup.h
libcgroup.h includes some header files, which are not then used. These should
be removed, resp. moved to the source files where they are actually needed.
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libcgrouptest.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/libcgrouptest.h b/tests/libcgrouptest.h index 4ee9464..923828a 100644 --- a/tests/libcgrouptest.h +++ b/tests/libcgrouptest.h @@ -26,9 +26,10 @@ #include <string.h> #include <sys/syscall.h> #include <sys/types.h> - +#include <sys/stat.h> #include <libcgroup.h> #include "../config.h" +#include <unistd.h> #define SIZE 100 /* Max size of a message to be printed */ #define NUM_MSGS 20 /* Number of such messsages */ |