Add missing include guards

This commit is contained in:
matt335672 2023-01-31 09:16:12 +00:00
parent b75a5ce763
commit 5ed9b96530
4 changed files with 19 additions and 0 deletions

View File

@ -18,6 +18,9 @@
* media center
*/
#ifndef MC_H
#define MC_H
/* include other h files */
#include "arch.h"
#include "parse.h"
@ -102,3 +105,5 @@ struct mod
int height;
int bpp;
};
#endif // MC_H

View File

@ -17,6 +17,9 @@
* limitations under the License.
*/
#ifndef XRDP_NEUTRINORDP_H
#define XRDP_NEUTRINORDP_H
/* include other h files */
#include "arch.h"
#include "parse.h"
@ -235,3 +238,5 @@ struct mod
int allow_client_kbd_settings;
struct kbd_overrides kbd_overrides; /* neutrinordp.overide_kbd_* values */
};
#endif // XRDP_NEUTRINORDP_H

View File

@ -16,6 +16,9 @@
* limitations under the License.
*/
#ifndef FIFO_H
#define FIFO_H
/* FIFO implementation to store a pointer to a user struct */
typedef struct fifo
@ -33,3 +36,4 @@ int fifo_insert(FIFO *fp, void *data);
void *fifo_remove(FIFO *fp);
void *fifo_peek(FIFO *fp);
#endif // FIFO_H

View File

@ -18,6 +18,9 @@
* libxup main header file
*/
#ifndef XUP_H
#define XUP_H
/* include other h files */
#include "arch.h"
#include "parse.h"
@ -176,3 +179,5 @@ struct mod
char *screen_shmem_pixels;
struct trans *trans;
};
#endif // XUP_H