projects
/
rrq
/
maintain_lilo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 24.2
[rrq/maintain_lilo.git]
/
src
/
common.h
diff --git
a/src/common.h
b/src/common.h
index fb715eadf5c9baec3006febb3563a22507388a6a..29bbaecabf9487580925dadbf3d8ed3c36b5ad7d 100644
(file)
--- a/
src/common.h
+++ b/
src/common.h
@@
-2,7
+2,7
@@
*
* Copyright 1992-1998 Werner Almesberger
* Copyright 1999-2005 John Coffman
*
* Copyright 1992-1998 Werner Almesberger
* Copyright 1999-2005 John Coffman
- * Copyright 2009-201
1
Joachim Wiedorn
+ * Copyright 2009-201
5
Joachim Wiedorn
* All rights reserved.
*
* Licensed under the terms contained in the file 'COPYING'
* All rights reserved.
*
* Licensed under the terms contained in the file 'COPYING'
@@
-19,6
+19,9
@@
#include <sys/stat.h>
#endif
#include <sys/stat.h>
#endif
+#include <inttypes.h>
+#define PTR_WIDTH ((int) (sizeof(intptr_t) * 2))
+
#ifndef PAGE_SIZE
# define PAGE_SIZE 4096U
#endif
#ifndef PAGE_SIZE
# define PAGE_SIZE 4096U
#endif