Commit 3960b5bf4eb70ff25250cabd2bc988e3890b6518
1 parent
31658276
Exists in
master
and in
3 other branches
Fixing actions.h build.
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
src/lib3270/mkactions/mkactions.c
... | ... | @@ -140,6 +140,10 @@ int main(int argc, char *argv[]) { |
140 | 140 | " * erico.mendonca@gmail.com (Erico Mascarenhas Mendonça)\n" |
141 | 141 | " *\n" |
142 | 142 | " */\n\n" |
143 | + "#ifndef LIB3270_ACTIONS_H_INCLUDED\n" | |
144 | + "\n" | |
145 | + "\n #define LIB3270_ACTIONS_H_INCLUDED 1\n" | |
146 | + "\n" | |
143 | 147 | ); |
144 | 148 | |
145 | 149 | if(format == FORMAT_HEADER) |
... | ... | @@ -194,6 +198,7 @@ int main(int argc, char *argv[]) { |
194 | 198 | " *\n" |
195 | 199 | " */\n" |
196 | 200 | " LIB3270_EXPORT int lib3270_action(H3270 *hSession, const char *name);\n" |
201 | + "\n\n#endif // LIB3270_ACTIONS_H_INCLUDED" | |
197 | 202 | ); |
198 | 203 | } |
199 | 204 | ... | ... |