summaryrefslogtreecommitdiff
path: root/Userland/copy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/copy.cpp')
-rw-r--r--Userland/copy.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Userland/copy.cpp b/Userland/copy.cpp
index ddad0a5ffa..2887bec3fc 100644
--- a/Userland/copy.cpp
+++ b/Userland/copy.cpp
@@ -1,10 +1,12 @@
#include <AK/ByteBuffer.h>
#include <AK/String.h>
#include <AK/StringBuilder.h>
+#include <LibCore/CEventLoop.h>
#include <LibCore/CFile.h>
#include <LibGUI/GClipboard.h>
-#include <LibGUI/GEventLoop.h>
#include <getopt.h>
+#include <stdio.h>
+#include <stdlib.h>
struct Options {
String data;
@@ -86,7 +88,7 @@ int main(int argc, char* argv[])
{
Options options = parse_options(argc, argv);
- new GEventLoop;
+ CEventLoop loop;
GClipboard& clipboard = GClipboard::the();
clipboard.set_data(options.data, options.type);