aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/git.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/firejail/git.c')
-rw-r--r--src/firejail/git.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/firejail/git.c b/src/firejail/git.c
index 1cfbb1bf4..b67339c8b 100644
--- a/src/firejail/git.c
+++ b/src/firejail/git.c
@@ -17,6 +17,9 @@
17 * with this program; if not, write to the Free Software Foundation, Inc., 17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 */ 19 */
20
21#ifdef HAVE_GIT_INSTALL
22
20#include "firejail.h" 23#include "firejail.h"
21#include <sys/utsname.h> 24#include <sys/utsname.h>
22#include <sched.h> 25#include <sched.h>
@@ -84,3 +87,4 @@ void git_uninstall(void) {
84 exit(0); 87 exit(0);
85} 88}
86 89
90#endif // HAVE_GIT_INSTALL