summaryrefslogtreecommitdiffstats
path: root/postproc
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-11 21:13:30 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-11 21:13:30 +0000
commite6a1e9368691bfb8318179a6ebde8aa871ca6d24 (patch)
tree77cfa4bf15d18f1c8f28f1e4ce4b47bfdc547a3a /postproc
parent2f0e040d997ce7d4dfe602d3afbefe0311a52509 (diff)
downloadmpv-e6a1e9368691bfb8318179a6ebde8aa871ca6d24.tar.bz2
mpv-e6a1e9368691bfb8318179a6ebde8aa871ca6d24.tar.xz
avoid #include "../
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9403 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc')
-rw-r--r--postproc/Makefile4
-rw-r--r--postproc/postprocess.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/postproc/Makefile b/postproc/Makefile
index 36f87075bc..2ef7bbc8cf 100644
--- a/postproc/Makefile
+++ b/postproc/Makefile
@@ -22,7 +22,7 @@ CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(EXTRA_INC)
# .PHONY: all clean
.c.o:
- $(CC) -c $(CFLAGS) -o $@ $<
+ $(CC) -c $(CFLAGS) -I.. -o $@ $<
all: $(SWSLIB) $(PPLIB) $(SPPLIB)
@@ -45,7 +45,7 @@ cs_test: $(CS_TEST_OBJS)
ifeq ($(SHARED_PP),yes)
postprocess_pic.o: postprocess.c
- $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
+ $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -I.. -o $@ $<
$(SPPLIB): $(SPPOBJS)
$(CC) -shared -Wl,-soname,$(SPPLIB).0 \
diff --git a/postproc/postprocess.c b/postproc/postprocess.c
index b25c24baf2..e470fd0389 100644
--- a/postproc/postprocess.c
+++ b/postproc/postprocess.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2001-2002 Michael Niedermayer (michaelni@gmx.at)
+ Copyright (C) 2001-2003 Michael Niedermayer (michaelni@gmx.at)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -62,7 +62,7 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks
//Changelog: use the CVS log
-#include "../config.h"
+#include "config.h"
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
@@ -80,7 +80,7 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks
#endif
#include "postprocess.h"
#include "postprocess_internal.h"
-#include "../mangle.h"
+#include "mangle.h"
#define MIN(a,b) ((a) > (b) ? (b) : (a))
#define MAX(a,b) ((a) < (b) ? (b) : (a))