Skip to content

Commit

Permalink
Add missing include guards
Browse files Browse the repository at this point in the history
  • Loading branch information
attah committed Jan 5, 2025
1 parent 0598df2 commit f8280c4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/converter.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef CONVERTER_H
#define CONVERTER_H

#include "baselinify.h"
#include "binfile.h"
#include "error.h"
Expand Down Expand Up @@ -163,3 +166,5 @@ class Converter
return inputFormats;
}
};

#endif // CONVERTER_H
5 changes: 5 additions & 0 deletions lib/lthread.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef LTHREADH_H
#define LTHREADH_H

#include <functional>
#include <thread>

Expand Down Expand Up @@ -40,3 +43,5 @@ class LThread
bool _complete = false;

};

#endif // LTHREADH_H
5 changes: 5 additions & 0 deletions lib/udpsocket.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef UDPSOCKET_H
#define UDPSOCKET_H

#include "bytestream.h"

#include <arpa/inet.h>
Expand Down Expand Up @@ -73,3 +76,5 @@ class UdpSocket
sockaddr_in _servaddr;

};

#endif // CONVERTER_H

0 comments on commit f8280c4

Please sign in to comment.