Moved the screencopy includes into scpy_source.c
2 files changed, 15 insertions(+), 15 deletions(-)

M inc/scpy_source.h
M src/scpy_source.c
M inc/scpy_source.h +1 -14
@@ 1,5 1,5 @@ 
 /*
- *  Copyright (C) 2019-2020 Scoopta
+ *  Copyright (C) 2019-2021 Scoopta
  *  This file is part of wlrobs
  *  wlrobs is free software: you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by

          
@@ 18,21 18,8 @@ 
 #ifndef SCPY_SOURCE_H
 #define SCPY_SOURCE_H
 
-#include <fcntl.h>
-#include <unistd.h>
-#include <stdint.h>
-#include <stdbool.h>
-#include <pthread.h>
-#include <sys/mman.h>
-#include <sys/stat.h>
-
 #include <obs/obs-module.h>
 
-#include <wayland-client.h>
-
-#include <xdg-output-unstable-v1-client-protocol.h>
-#include <wlr-screencopy-unstable-v1-client-protocol.h>
-
 extern struct obs_source_info scpy_source;
 
 #endif

          
M src/scpy_source.c +14 -1
@@ 1,5 1,5 @@ 
 /*
- *  Copyright (C) 2019-2020 Scoopta
+ *  Copyright (C) 2019-2021 Scoopta
  *  This file is part of wlrobs
  *  wlrobs is free software: you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by

          
@@ 17,6 17,19 @@ 
 
 #include <scpy_source.h>
 
+#include <fcntl.h>
+#include <unistd.h>
+#include <stdint.h>
+#include <stdbool.h>
+#include <pthread.h>
+#include <sys/mman.h>
+#include <sys/stat.h>
+
+#include <wayland-client.h>
+
+#include <xdg-output-unstable-v1-client-protocol.h>
+#include <wlr-screencopy-unstable-v1-client-protocol.h>
+
 struct wlr_frame {
 	uint32_t format;
 	uint32_t width, height;