diff --git a/include/sys/types.h b/include/sys/types.h index 28a524d26cd..d9dda31fcae 100644 --- a/include/sys/types.h +++ b/include/sys/types.h @@ -60,6 +60,12 @@ # endif #endif +/* Values for seeking */ + +#define SEEK_SET 0 /* From the start of the file */ +#define SEEK_CUR 1 /* From the current file offset */ +#define SEEK_END 2 /* From the end of the file */ + #ifndef CONFIG_SMP_NCPUS # define CONFIG_SMP_NCPUS 1 #endif diff --git a/include/unistd.h b/include/unistd.h index 4c49eaabd2a..b2d4ec091e2 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -33,12 +33,6 @@ * Pre-processor Definitions ****************************************************************************/ -/* Values for seeking */ - -#define SEEK_SET 0 /* From the start of the file */ -#define SEEK_CUR 1 /* From the current file offset */ -#define SEEK_END 2 /* From the end of the file */ - /* Bit values for the second argument to access */ #define F_OK 0 /* Test existence */