diff --git a/cocoa/Makefile.target b/cocoa/Makefile.target index 0fea50151..b3ababd91 100644 --- a/cocoa/Makefile.target +++ b/cocoa/Makefile.target @@ -5,7 +5,7 @@ POSTEXES += NetSurf.app LDFLAGS += -L/usr/lib - LDFLAGS += $(shell $(PKG_CONFIG) --libs libxml-2.0 libhubbub libcss) + LDFLAGS += $(shell $(PKG_CONFIG) --libs libxml-2.0 libhubbub libcss libdom) LDFLAGS += -L/usr/X11/lib LDFLAGS += -lm -lxml2 -lcurl -liconv LDFLAGS += -lssl -lcrypto @@ -16,7 +16,7 @@ CFLAGS += -g -Os -Wno-uninitialized - CFLAGS += $(shell $(PKG_CONFIG) --cflags libxml-2.0 libhubbub libcss) + CFLAGS += $(shell $(PKG_CONFIG) --cflags libxml-2.0 libhubbub libcss libdom) # shut up zconf.h and zlib.h #CFLAGS += -D_LARGEFILE64_SOURCE=1 diff --git a/cocoa/selection.m b/cocoa/selection.m index d894ed40b..cb6a936d6 100644 --- a/cocoa/selection.m +++ b/cocoa/selection.m @@ -21,6 +21,7 @@ #import "cocoa/BrowserViewController.h" #import "desktop/selection.h" +#import "render/box.h" static NSMutableString *cocoa_clipboard_string;