chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tmpfiles: move dir to /etc/tempfiles.d/
[elogind.git]
/
src
/
readahead-common.h
diff --git
a/src/readahead-common.h
b/src/readahead-common.h
index 3f64f290a927303adf0ec545655c3e44ee52b257..7add62613f91e79681d9a988d4190548dbc331bc 100644
(file)
--- a/
src/readahead-common.h
+++ b/
src/readahead-common.h
@@
-23,6
+23,9
@@
***/
#include <sys/stat.h>
***/
#include <sys/stat.h>
+#include <sys/types.h>
+
+#include "macro.h"
#define READAHEAD_FILE_SIZE_MAX (128*1024*1024)
#define READAHEAD_FILE_SIZE_MAX (128*1024*1024)
@@
-34,4
+37,11
@@
bool enough_ram(void);
int open_inotify(void);
int open_inotify(void);
+typedef struct ReadaheadShared {
+ pid_t collect;
+ pid_t replay;
+} _packed_ ReadaheadShared;
+
+ReadaheadShared *shared_get(void);
+
#endif
#endif