File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 3030#include <string.h>
3131#include <stdlib.h>
3232#include <dirent.h>
33+ #include <limits.h>
3334
3435#include "xdg-basedir.h"
3536
Original file line number Diff line number Diff line change 2626
2727#include <inttypes.h>
2828
29- __BEGIN_DECLS
29+ #ifdef __cplusplus
30+ extern "C" {
31+ #endif
3032
3133typedef uint16_t Elf32_Half ;
3234typedef uint16_t Elf64_Half ;
@@ -114,6 +116,8 @@ typedef struct elf32_note {
114116#define EI_CLASS 4
115117#define EI_DATA 5
116118
117- __END_DECLS
119+ #ifdef __cplusplus
120+ }
121+ #endif
118122
119123#endif /* elf.h */
Original file line number Diff line number Diff line change 2626
2727#include <inttypes.h>
2828
29- __BEGIN_DECLS
29+ #ifdef __cplusplus
30+ extern "C" {
31+ #endif
3032
3133typedef uint16_t Elf32_Half ;
3234typedef uint16_t Elf64_Half ;
@@ -114,6 +116,8 @@ typedef struct elf32_note {
114116#define EI_CLASS 4
115117#define EI_DATA 5
116118
117- __END_DECLS
119+ #ifdef __cplusplus
120+ }
121+ #endif
118122
119123#endif /* elf.h */
You can’t perform that action at this time.
0 commit comments