Skip to content

Commit 3546526

Browse files
committed
Add an include guard for the header
1 parent 141b64c commit 3546526

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

fishhook.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2222
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2323

24+
#ifndef fishhook_h
25+
#define fishhook_h
26+
2427
#include <stddef.h>
2528
#include <stdint.h>
2629

@@ -51,3 +54,6 @@ int rebind_symbols_image(void *header,
5154
intptr_t slide,
5255
struct rebinding rebindings[],
5356
size_t rebindings_nel);
57+
58+
#endif
59+

0 commit comments

Comments
 (0)