Description: Add return values in the example implementation
Forwarded: https://github.com/FeralInteractive/gamemode/pull/235
Author: Stephan Lachnit <stephanlachnit@protonmail.com>

--- a/example/main.c
+++ b/example/main.c
@@ -32,6 +32,7 @@
 #include "gamemode_client.h"
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <unistd.h>
 
 int main(void)
@@ -39,6 +40,7 @@
 	/* Request we start game mode */
 	if (gamemode_request_start() != 0) {
 		fprintf(stderr, "Failed to request gamemode start: %s...\n", gamemode_error_string());
+		return  EXIT_FAILURE;
 	}
 
 	/* Simulate running a game */
@@ -47,5 +49,8 @@
 	/* Request we end game mode (optional) */
 	if (gamemode_request_end() != 0) {
 		fprintf(stderr, "Failed to request gamemode end: %s...\n", gamemode_error_string());
+		return  EXIT_FAILURE;
 	}
+
+	return EXIT_SUCCESS;
 }
