Skip to content

Commit

Permalink
i#3123: Remove duplicate header include (#3196)
Browse files Browse the repository at this point in the history
Removes a redundant duplicate include of os_private.h in win32/inject.c.

Fixes #3123
  • Loading branch information
claucece authored and derekbruening committed Sep 29, 2018
1 parent b0296ea commit a03b486
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/win32/inject.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
#include <string.h>

#include "ntdll.h" /* for get/set context etc. */
#include "os_private.h" /* for load_dynamo */

#include "instr.h"
#include "instr_create.h"
Expand All @@ -60,7 +59,7 @@
* to the inject lib itself, which won't be there in the child, it's best
* to use DR's get_proc_address(). We're already linking w/ the files we need.
*/
#include "os_private.h" /* for get_proc_address() */
#include "os_private.h" /* for get_proc_address() and load_dynamo */
#define GET_PROC_ADDR get_proc_address

/* this entry point is hardcoded, FIXME : abstract */
Expand Down

0 comments on commit a03b486

Please sign in to comment.