diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-04-14 01:27:16 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-04-14 01:27:16 -0400 |
commit | 9dca29e8cc93aef68f638a06c19f4165dfc32e3d (patch) | |
tree | 99eecfeb2b63f34dc1b3d279264eca49d9b16043 /include/spm.h | |
parent | f04a13fd4b7c665dfecdeaef82e2ab628d6f402d (diff) | |
download | spmc-9dca29e8cc93aef68f638a06c19f4165dfc32e3d.tar.gz |
Add functions:
touch()
fslist()
* Add type:
struct FSList
* Consolidate platform specific includes
Diffstat (limited to 'include/spm.h')
-rw-r--r-- | include/spm.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/spm.h b/include/spm.h index 895354f..93f1947 100644 --- a/include/spm.h +++ b/include/spm.h @@ -7,8 +7,6 @@ #include <ctype.h> #include <dirent.h> #include <errno.h> -#include <fts.h> -#include <glob.h> #include <math.h> #include <stdio.h> #include <stdlib.h> @@ -16,14 +14,17 @@ #include <stdarg.h> #include <stdint.h> #include <string.h> -#include <unistd.h> #include <time.h> #include <sys/stat.h> #include <openssl/md5.h> #include <openssl/sha.h> #if !defined(_WIN32) +#include <fts.h> +#include <glob.h> +#include <unistd.h> #include <sys/utsname.h> +#include <utime.h> #endif #include "package.h" |